diff --git a/Hcs.WebApp/Components/Dialogs/AddUser.razor b/Hcs.WebApp/Components/Dialogs/AddUser.razor index aa0e867..01ad719 100644 --- a/Hcs.WebApp/Components/Dialogs/AddUser.razor +++ b/Hcs.WebApp/Components/Dialogs/AddUser.razor @@ -1,63 +1,56 @@ @using Hcs.WebApp.Services -@using Microsoft.AspNetCore.Authorization @using Microsoft.AspNetCore.Identity @using Microsoft.EntityFrameworkCore -@attribute [Authorize] - @inject RoleManager RoleManager @inject UsersService UsersService @inject DialogService DialogService - - - - - @errorMessage - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + @errorMessage + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @code { sealed class InputModel diff --git a/Hcs.WebApp/Components/Dialogs/EditUser.razor b/Hcs.WebApp/Components/Dialogs/EditUser.razor index 3c58a96..9ab3f6e 100644 --- a/Hcs.WebApp/Components/Dialogs/EditUser.razor +++ b/Hcs.WebApp/Components/Dialogs/EditUser.razor @@ -1,60 +1,53 @@ @using Hcs.WebApp.Services -@using Microsoft.AspNetCore.Authorization @using Microsoft.AspNetCore.Identity @using Microsoft.EntityFrameworkCore -@attribute [Authorize] - @inject UserManager UserManager; @inject RoleManager RoleManager @inject UsersService UsersService @inject DialogService DialogService - - - - - @errorMessage - - - - - - - - - - - - - - - - - - @if (!string.IsNullOrEmpty(Input.Password)) - { - - - } - - - - - - - - - - - - - - - - - - + + + @errorMessage + + + + + + + + + + + + + + + + + + @if (!string.IsNullOrEmpty(Input.Password)) + { + + + } + + + + + + + + + + + + + + + + @code { sealed class InputModel