コード例 #1
0
 public IQueryable <ObjectiveAwardDTO> GetObjectiveAwards(int programId, int objectiveId)
 {
     logger.Trace("Getting Country Awards for program: [{0}], objective: [{1}]", programId, objectiveId);
     return(ReportQueries.CreateGetObjectiveAward(this.Context, programId, objectiveId));
 }
コード例 #2
0
 public async Task <List <ObjectiveAwardDTO> > GetObjectiveAwardsAsync(int programId, int objectiveId)
 {
     logger.Trace("Getting Country Awards (Async) for program: [{0}], objective: [{1}]", programId, objectiveId);
     return(await ReportQueries.CreateGetObjectiveAward(this.Context, programId, objectiveId).ToListAsync());
 }