@using TaikoWebUI.Shared.Models @using System.Collections.Immutable @inject IGameDataService GameDataService Ok @code { [CascadingParameter] MudDialogInstance MudDialog { get; set; } = null!; [Parameter] public User User { get; set; } = new(); private string qrCode = string.Empty; protected override void OnInitialized() { base.OnInitialized(); qrCode = "BNTTCNID" + User.AccessCodes.First(); } private void Submit() { MudDialog.Close(DialogResult.Ok(true)); } }