Widget
This commit is contained in:
@ -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();*/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user