@page "/Issues/{id:guid}" @page "/Issues/Add" @attribute [Authorize(Roles = RoleService.AdministratorRoleName)] @inject GameService GameService @inject IssueService IssueService @inject IMessageService MessageService @inject NavigationManager NavigationManager @inject ILogger Logger @if (Id == null || Id == Guid.Empty) { Add New Issue } else { Edit Issue } @if (Id != Guid.Empty) { }
@if (Issue?.ResolvedOn != null) { } else if (Id != Guid.Empty) { }
@if (context.Game != null && context.GameId != Guid.Empty) { Edit } else { }