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 ///