@page "/Tools/{id:guid}" @page "/Tools/{id:guid}/General" @page "/Tools/Add" @using LANCommander.SDK.Enums @using LANCommander.Server.UI.Pages.Tools.Components @attribute [Authorize(Roles = RoleService.AdministratorRoleName)] @inject GameService GameService @inject ToolService ToolService @inject ModalService ModalService @if (Id == Guid.Empty) { Add New Tool } else { General } @if (context != null && context.Id != Guid.Empty) { } @if (context != null) {