Пример #1
0
 public async Task <List <ProjectWithGrantNumberDTO> > GetProjectsWithGrantNumberAsync(int programId)
 {
     logger.Trace("Getting Year Awards (Async) for program: [{0}]", programId);
     return(await ReportQueries.CreateGetProjectsWithGrantNumber(this.Context, programId).ToListAsync());
 }
Пример #2
0
 public IQueryable <ProjectWithGrantNumberDTO> GetProjectsWithGrantNumber(int programId)
 {
     logger.Trace("Getting Year Awards (Async) for program: [{0}]", programId);
     return(ReportQueries.CreateGetProjectsWithGrantNumber(this.Context, programId));
 }