Pluralize namespaces in client to keep from having to qualify domain namespace
14 lines
316 B
Plaintext
14 lines
316 B
Plaintext
@page "/citizen/log-off"
|
|
@inject NavigationManager nav
|
|
@inject AppState state
|
|
@inject IToastService toast
|
|
@code {
|
|
protected override void OnInitialized()
|
|
{
|
|
state.Jwt = "";
|
|
state.User = null;
|
|
toast.ShowSuccess("Have a Nice Day!", "Log Off Successful");
|
|
nav.NavigateTo("/");
|
|
}
|
|
}
|