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