diff --git a/StandManager/Components/Layout/MainLayout.razor b/StandManager/Components/Layout/MainLayout.razor index 6e5ab13..39d7ba8 100644 --- a/StandManager/Components/Layout/MainLayout.razor +++ b/StandManager/Components/Layout/MainLayout.razor @@ -58,6 +58,14 @@ Dashboard + diff --git a/StandManager/Components/Pages/Management/Utenti.razor b/StandManager/Components/Pages/Management/Utenti.razor new file mode 100644 index 0000000..1b5ea5c --- /dev/null +++ b/StandManager/Components/Pages/Management/Utenti.razor @@ -0,0 +1,29 @@ +@page "/management/Utenti" +@using Microsoft.AspNetCore.Authorization +@using StandManager.Domain.Entita +@using StandManager.Service.Interfaces +@inject IManagerService _managerService +@attribute [Authorize] +

Utenti

+ + + + + + + + + + + +@code { + IQueryable utenti; + + protected override async Task OnInitializedAsync() + { + await base.OnInitializedAsync(); + + utenti = await _managerService.UtenteService.RicercaQueryable(x => x.Eliminato == false); + } +} \ No newline at end of file