@using MP.AppAuth.Models @inject IJSRuntime JSRuntime
EgalWare

@CardMessage

@*Image 12345*@

@CurrItem.Cognome @CurrItem.Nome

matr: @CurrItem.MatrOpr
@code { [Parameter] public AnagraficaOperatori CurrItem { get; set; } [Parameter] public string CardMessage { get; set; } protected override async Task OnAfterRenderAsync(bool firstRender) { await JSRuntime.InvokeVoidAsync("displayQr", $"qrCodeImg_{CurrItem.MatrOpr}", rawCode); } protected string BaseUrl = "http://IIS01/"; protected string rawCode { get { string answ = ""; if (CurrItem != null) { answ = $"{BaseUrl}&MatrOpr={CurrItem.MatrOpr}&UserAuthKey={CurrItem.AuthKey}"; } return answ; } } }