This commit is contained in:
2026-02-06 10:37:45 +01:00
parent 2e40d48a9a
commit ef2c779f83
2 changed files with 4 additions and 4 deletions

View File

@ -224,7 +224,7 @@
ClienteId = invito.ClienteId,
DestinazioneId = iscrizione.DestinazioneId,
TipologiaClienteId = iscrizione.TipologiaClienteId,
IdUtenteCreazione = userId != Guid.Empty ? userId : null
//IdUtenteCreazione = userId != Guid.Empty ? userId : null
};
model = iscrizione.Map(model);

View File

@ -129,9 +129,9 @@
var ruoliCapoarea = await _managerService.RuoloService.RicercaQueryable(
x => x.Permessi.Any(y => y.Feature.Type == FeatureType.AdminGlobal || y.Feature.Type == FeatureType.Capoarea),
includi: x => x.Include(y => y.Permessi).ThenInclude(z => z.Feature));
capoareaList = (await _managerService.UtenteService.RicercaQueryable(
u => ruoliCapoarea.Any(r => r.Id == u.RuoloId)
)).Select(x => (UtenteViewModel)x).ToList();
capoareaList = (await _managerService.UtenteService.RicercaQueryable(x => x.IsCapoarea,
ordinamento:y => y.OrderBy(z => z.Nome).ThenBy(w => w.Cognome)))
.Select(x => (UtenteViewModel)x).ToList();
}
/// <summary>