23 lines
720 B
Plaintext
23 lines
720 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</MudText>
|
|
</MudButton>
|
|
</DialogActions>
|
|
</MudDialog> |