diff --git a/CourseProject1125/DB/DatabaseService.cs b/CourseProject1125/DB/DatabaseService.cs index b0d03d5..5310341 100644 --- a/CourseProject1125/DB/DatabaseService.cs +++ b/CourseProject1125/DB/DatabaseService.cs @@ -51,7 +51,7 @@ public static class DatabaseService RoleId = role }; - // Populate UserSession + UserSession.UserId = user.Id; UserSession.UserName = user.Login; UserSession.Role = role.Name; diff --git a/CourseProject1125/Views/AdminWindow.axaml b/CourseProject1125/Views/AdminWindow.axaml index 6e142c4..59c8c81 100644 --- a/CourseProject1125/Views/AdminWindow.axaml +++ b/CourseProject1125/Views/AdminWindow.axaml @@ -10,43 +10,36 @@ Background="#0f172a"> - - - + -