예제 #1
0
 public IQueryable <ProjectAwardDTO> GetProjectAwards(int programId, int countryId)
 {
     logger.Trace("Getting Project Awards for Program: [{0}], CountryId [{1}]", programId, countryId);
     return(ReportQueries.CreateGetProjectAward(this.Context, programId, countryId));
 }
예제 #2
0
 public async Task <List <ProjectAwardDTO> > GetProjectAwardsAsync(int programId, int countryId)
 {
     logger.Trace("Getting Project Awards (Async) for Program: [{0}], CountryId [{1}]", programId, countryId);
     return(await ReportQueries.CreateGetProjectAward(this.Context, programId, countryId).ToListAsync());
 }