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)); }
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()); }