Exemple #1
0
 public async Task <IEnumerable <Project> > GetAllProjectsWithClaimCount()
 => await AllProjects.Include(p => p.Claims).ToListAsync();
Exemple #2
0
 public async Task <IEnumerable <Project> > GetArchivedProjectsWithClaimCount()
 => await AllProjects.Include(p => p.Claims).Where(p => !p.Active).ToListAsync();