@inherits LayoutComponentBase @using Microsoft.AspNetCore.Authorization @using TIAMSharedUI.Shared.Users @using AyCode.Interfaces.StorageHandlers; @using AyCode.Services.Loggers @using TIAMSharedUI.Shared.Components @using TIAMWebApp.Shared.Application.Interfaces @inject NavigationManager NavManager @inject IJSRuntime jsRuntime @inject ISecureStorageHandler SecureStorageHandler @inject ISessionService sessionService @inject IEnumerable LogWriters @inject IUserDataService userDataService @attribute [Authorize]
@*
*@
@Body
@code { public PopupMessageBox PopupMessageBox { get; private set; } = default!; private void HandleError(Exception exception) => jsRuntime.InvokeVoidAsync("alert", "An unexpected error occurred. Please try again later."); }