From 602799e27cdf3c4bbc06d4ab7b20051800b06729 Mon Sep 17 00:00:00 2001 From: Andre Beging Date: Mon, 23 May 2022 15:42:14 +0200 Subject: [PATCH] Dummy Button Notifications --- FoodsharingSiegen.Server/Pages/Profile.razor | 4 +-- .../Pages/Profile.razor.cs | 30 +++++++++++++++++-- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/FoodsharingSiegen.Server/Pages/Profile.razor b/FoodsharingSiegen.Server/Pages/Profile.razor index e4f226c..761a868 100644 --- a/FoodsharingSiegen.Server/Pages/Profile.razor +++ b/FoodsharingSiegen.Server/Pages/Profile.razor @@ -31,6 +31,6 @@

Sicherheit

- - + + \ No newline at end of file diff --git a/FoodsharingSiegen.Server/Pages/Profile.razor.cs b/FoodsharingSiegen.Server/Pages/Profile.razor.cs index 8431104..b80afb7 100644 --- a/FoodsharingSiegen.Server/Pages/Profile.razor.cs +++ b/FoodsharingSiegen.Server/Pages/Profile.razor.cs @@ -11,14 +11,14 @@ namespace FoodsharingSiegen.Server.Pages public partial class Profile { #region Dependencies (Injected) - + /// /// Gets or sets the value of the user service (ab) /// [Inject] public UserService? UserService { get; set; } - - #endregion + #endregion + #region Private Properties /// @@ -61,6 +61,30 @@ namespace FoodsharingSiegen.Server.Pages #endregion + #region Private Method ChangePassword + + /// + /// Changes the password (a. beging, 23.05.2022) + /// + private async Task ChangePassword() + { + await Notification?.Success("Die Funktion ist noch nicht fertig! :)")!; + } + + #endregion + + #region Private Method RemoveAccount + + /// + /// Removes the account (a. beging, 23.05.2022) + /// + private async Task RemoveAccount() + { + await Notification?.Success("Die Funktion ist noch nicht fertig! :)")!; + } + + #endregion + #region Private Method SaveProfile ///