Beispiel #1
0
 public async Task <IEnumerable <Project> > GetMyActiveProjectsAsync(int userInfoId) => await
 ActiveProjects.Where(MyProjectPredicate(userInfoId)).ToListAsync();
Beispiel #2
0
 public IEnumerable <Project> GetMyActiveProjects(int?userInfoId)
 => userInfoId == null?Enumerable.Empty <Project>() :  ActiveProjects.Where(MyProjectPredicate(userInfoId));
Beispiel #3
0
 public async Task <IEnumerable <Project> > GetActiveProjectsWithClaimCount()
 => await ActiveProjects.Include(p => p.Claims).ToListAsync();
Beispiel #4
0
 public async Task <IEnumerable <Project> > GetActiveProjectsWithSchedule()
 => await ActiveProjects.Where(project => project.Details.ScheduleEnabled)
 .ToListAsync();
Beispiel #5
0
 public async Task <IEnumerable <Project> > GetProjectsWithoutAllrpgAsync()
 => await ActiveProjects.Where(p => p.Details.AllrpgId == null).ToListAsync();