Profile Page

This commit is contained in:
Andre Beging
2022-05-21 18:22:18 +02:00
parent e71ef30641
commit 5961c06004
12 changed files with 178 additions and 19 deletions

View File

@@ -16,10 +16,9 @@ namespace FoodsharingSiegen.Server.BaseClasses
/// Gets or sets the value of the auth service (ab)
/// </summary>
[Inject] private AuthService? AuthService { get; set; }
#endregion
#region Override OnInitializedAsync
/// <summary>
@@ -33,6 +32,14 @@ namespace FoodsharingSiegen.Server.BaseClasses
#endregion
/// <summary>
/// Refreshes the state (a. beging, 21.05.2022)
/// </summary>
protected async Task RefreshState()
{
await AuthService?.RefreshState()!;
}
/// <summary>
/// Gets the value of the current user (ab)
/// </summary>