public IQueryable <YearAwardDTO> GetYearAwards(int programId) { logger.Trace("Getting Year Awards for program: [{0}]", programId); return(ReportQueries.CreateGetYearAward(this.Context, programId)); }
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()); }