コード例 #1
0
 public IQueryable <FocusAwardDTO> GetFocusAwards(int programId)
 {
     logger.Trace("Getting Focus Awards for program: [{0}]", programId);
     return(ReportQueries.CreateGetFocusAward(this.Context, programId));
 }
コード例 #2
0
 public async Task <List <FocusAwardDTO> > GetFocusAwardsAsync(int programId)
 {
     logger.Trace("Getting Focus Awards (Async) for program: [{0}]", programId);
     return(await ReportQueries.CreateGetFocusAward(this.Context, programId).ToListAsync());
 }