2022-09-11 18:28:12 +02:00
|
|
|
@inject HttpClient Client
|
2022-09-06 16:32:36 +02:00
|
|
|
@inject ISnackbar Snackbar
|
|
|
|
|
|
|
|
<MudDialog>
|
|
|
|
<TitleContent>
|
|
|
|
<MudText Typo="Typo.h6">
|
|
|
|
<MudIcon Icon="@Icons.Material.Filled.DeleteForever" Class="mr-3 mb-n1"/>
|
2023-11-11 22:04:11 +01:00
|
|
|
Delete user?
|
2022-09-06 16:32:36 +02:00
|
|
|
</MudText>
|
|
|
|
</TitleContent>
|
|
|
|
<DialogContent>
|
|
|
|
<MudText>
|
2023-11-11 22:04:11 +01:00
|
|
|
Do you really want to delete this user's data?
|
|
|
|
All the related data will be deleted and this process cannot be undone!
|
2022-09-06 16:32:36 +02:00
|
|
|
</MudText>
|
|
|
|
</DialogContent>
|
|
|
|
<DialogActions>
|
2023-11-12 18:56:57 +01:00
|
|
|
<MudButton OnClick="Cancel">CANCEL</MudButton>
|
2023-11-11 22:04:11 +01:00
|
|
|
<MudButton Color="Color.Error" OnClick="DeleteUser">
|
2023-11-12 18:56:57 +01:00
|
|
|
<MudText>DELETE</MudText>
|
2022-09-06 16:32:36 +02:00
|
|
|
</MudButton>
|
|
|
|
</DialogActions>
|
2022-09-11 18:33:58 +02:00
|
|
|
</MudDialog>
|