@page "/Users/{baid:int}/AccessCode" @inject HttpClient Client @inject IDialogService DialogService @inject LoginService LoginService @inject NavigationManager NavigationManager

Access Code Management

User: @Baid @if (response is null) { @for (uint i = 0; i < 3; i++) { } } else { @if ((LoginService.LoginRequired && (!LoginService.IsLoggedIn || (LoginService.GetLoggedInUser().Baid != Baid && !LoginService.IsAdmin))) || User is null) { Please log in by clicking on "Users" tab first. } else { Bind New Access Code Bind @for (var idx = 0; idx < User.AccessCodes.Count; idx++) { var accessCode = User.AccessCodes[idx]; var localIdx = idx + 1; User Access Code @localIdx @accessCode Delete Access Code } } }