This commit is contained in:
2025-12-29 16:09:21 +01:00
parent 96b28bb7a9
commit 3a1a4055ce
7 changed files with 78 additions and 88 deletions

View File

@ -19,9 +19,5 @@ public class UtenteService : TService<Utente>, IUtenteService
public async Task<List<Utente>> ListaCapoarea()
{
return (await _unitOfWork.UtenteRepository.RicercaQueryable(x => x.IsCapoarea, skip:0, take:0)).ToList();
/*return (await _unitOfWork.UtenteRepository.RicercaQueryable(x =>
x.Ruolo.Permessi.Any(y => y.Feature.Type == FeatureType.Capoarea || y.Feature.Type == FeatureType.AdminGlobal),
includi:x => x.Include(y => y.Ruolo).ThenInclude(z => z.Permessi).ThenInclude(u => u.Feature),
skip: 0, take: 0)).ToList();*/
}
}