23 lines
725 B
Plaintext
23 lines
725 B
Plaintext
@inject HttpClient Client
|
|
@inject ISnackbar Snackbar
|
|
|
|
<MudDialog>
|
|
<TitleContent>
|
|
<MudText Typo="Typo.h6">
|
|
<MudIcon Icon="@Icons.Material.Filled.DeleteForever" Class="mr-3 mb-n1"/>
|
|
Delete user?
|
|
</MudText>
|
|
</TitleContent>
|
|
<DialogContent>
|
|
<MudText>
|
|
Do you really want to delete this user's data?
|
|
All the related data will be deleted and this process cannot be undone!
|
|
</MudText>
|
|
</DialogContent>
|
|
<DialogActions>
|
|
<MudButton OnClick="Cancel">Cancel</MudButton>
|
|
<MudButton Color="Color.Error" OnClick="DeleteUser">
|
|
<MudText>Delete User</MudText>
|
|
</MudButton>
|
|
</DialogActions>
|
|
</MudDialog> |