@inject CustomAuthenticationStateProvider AuthStateProvider; @inject State State; @foreach (AddressResponseData address in State.AddressList ?? new List()) { changeAddress(address)"> @address.Address } AuthStateProvider.Logout()'> Logout Hey, @State.Name. @State.SelectedAddressName Login Hey there. Login? Status.lol Some.pics Eph.emer.al Now.garden Hey, @State.Name. @foreach (AddressResponseData address in State.AddressList ?? new List()) { changeAddress(address)"> @address.Address } AuthStateProvider.Logout()'> Logout Hey there. Login Status.lol Some.pics Eph.emer.al Now.garden Status.lol Some.pics Eph.emer.al Now.garden Hey, @State.Name. @foreach (AddressResponseData address in State.AddressList ?? new List()) { changeAddress(address)"> @address.Address } AuthStateProvider.Logout()'> Logout @State.SelectedAddressName Hey there. Login @code { public void changeAddress(AddressResponseData address) { State.SelectedAddress = address; } }