示例#1
0
 public IQueryable <YearAwardDTO> GetYearAwards(int programId)
 {
     logger.Trace("Getting Year Awards for program: [{0}]", programId);
     return(ReportQueries.CreateGetYearAward(this.Context, programId));
 }
示例#2
0
 public async Task <List <YearAwardDTO> > GetYearAwardsAsync(int programId)
 {
     logger.Trace("Getting Year Awards (Async) for program: [{0}]", programId);
     return(await ReportQueries.CreateGetYearAward(this.Context, programId).ToListAsync());
 }