@page "/login" @using BootStrapComponents @using Components @using Models.Identity @layout LayoutWithoutMenu
@code { protected LoginModel LoginModel { get; set; } = new(); protected bool Loading { set; get; } protected async Task Submit() { Loading = true; StateHasChanged(); var response = await _userUtils.LoginWithPasswordRequest(LoginModel); Loading = false; if (response.IsSuccessStatusCode) { var result = await response.Content.ReadFromJsonAsync