@page "/logout"
@inject IJSRuntime JSRuntime
@inject HttpClient HttpClient
@inherits BlazorAdmin.Helpers.BlazorComponent

@code {

    protected override async Task OnInitializedAsync()
    {
        await HttpClient.PostAsync("Identity/Account/Logout", null);
        await new Route(JSRuntime).RouteOutside("/Identity/Account/Login");
    }

}
