@page "/settings"

Settings

@code { [Inject] private SessionManager sessionManager { get; set; } [Inject] private NavigationManager navigationManager { get; set; } protected async override Task OnInitializedAsync() { } private void SignOut() { sessionManager.SignOut(); navigationManager.NavigateTo("/"); } }