Dummy Button Notifications
This commit is contained in:
@@ -31,6 +31,6 @@
|
||||
</Fields>
|
||||
|
||||
<h3>Sicherheit</h3>
|
||||
<Button Color="Color.Primary" Class="mb-2">Passwort ändern</Button>
|
||||
<Button Color="Color.Danger" Class="mb-2">Konto löschen</Button>
|
||||
<Button Color="Color.Primary" Class="mb-2" Clicked="ChangePassword">Passwort ändern</Button>
|
||||
<Button Color="Color.Danger" Class="mb-2" Clicked="RemoveAccount">Konto löschen</Button>
|
||||
</div>
|
||||
@@ -11,14 +11,14 @@ namespace FoodsharingSiegen.Server.Pages
|
||||
public partial class Profile
|
||||
{
|
||||
#region Dependencies (Injected)
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value of the user service (ab)
|
||||
/// </summary>
|
||||
[Inject] public UserService? UserService { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Properties
|
||||
|
||||
/// <summary>
|
||||
@@ -61,6 +61,30 @@ namespace FoodsharingSiegen.Server.Pages
|
||||
|
||||
#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
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user