24 lines
609 B
C#
24 lines
609 B
C#
using MudBlazor;
|
|
using SteUp.Shared.Components.SingleElements.Modal;
|
|
|
|
namespace SteUp.Shared.Core.Helpers;
|
|
|
|
public class ModalHelper
|
|
{
|
|
public static async Task<DialogResult?> OpenSelectShop(IDialogService dialog)
|
|
{
|
|
var modal = await dialog.ShowAsync<ModalSelectShop>(
|
|
"ModalSelectShop",
|
|
new DialogParameters(),
|
|
new DialogOptions
|
|
{
|
|
FullScreen = false,
|
|
CloseButton = false,
|
|
NoHeader = true,
|
|
BackdropClick = true
|
|
}
|
|
);
|
|
|
|
return await modal.Result;
|
|
}
|
|
} |