Dummy Button Notifications
This commit is contained in:
@@ -31,6 +31,6 @@
|
|||||||
</Fields>
|
</Fields>
|
||||||
|
|
||||||
<h3>Sicherheit</h3>
|
<h3>Sicherheit</h3>
|
||||||
<Button Color="Color.Primary" Class="mb-2">Passwort ändern</Button>
|
<Button Color="Color.Primary" Class="mb-2" Clicked="ChangePassword">Passwort ändern</Button>
|
||||||
<Button Color="Color.Danger" Class="mb-2">Konto löschen</Button>
|
<Button Color="Color.Danger" Class="mb-2" Clicked="RemoveAccount">Konto löschen</Button>
|
||||||
</div>
|
</div>
|
||||||
@@ -61,6 +61,30 @@ namespace FoodsharingSiegen.Server.Pages
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region Private Method ChangePassword
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Changes the password (a. beging, 23.05.2022)
|
||||||
|
/// </summary>
|
||||||
|
private async Task ChangePassword()
|
||||||
|
{
|
||||||
|
await Notification?.Success("Die Funktion ist noch nicht fertig! :)")!;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region Private Method RemoveAccount
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Removes the account (a. beging, 23.05.2022)
|
||||||
|
/// </summary>
|
||||||
|
private async Task RemoveAccount()
|
||||||
|
{
|
||||||
|
await Notification?.Success("Die Funktion ist noch nicht fertig! :)")!;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region Private Method SaveProfile
|
#region Private Method SaveProfile
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user