@*@inject IDialogService DialogService
Open Simple Dialog
@code {
private void OpenDialog()
{
var options = new DialogOptions { CloseOnEscapeKey = true };
DialogService.Show("Simple Dialog", options);
}
}
Dialog Content
Cancel
Ok
@code {
[CascadingParameter] MudDialogInstance MudDialog { get; set; }
void Submit() => MudDialog.Close(DialogResult.Ok(true));
void Cancel() => MudDialog.Cancel();
}*@