@using MudBlazor @ContentText انصراف @ButtonText @code { [CascadingParameter] private IMudDialogInstance MudDialog { get; set; } [Parameter] public string ContentText { get; set; } = ""; [Parameter] public string ButtonText { get; set; } = "تأیید"; private string? OtpCode { get; set; } private void Cancel() => MudDialog.Cancel(); private void Submit() => MudDialog.Close(DialogResult.Ok(OtpCode)); }