コード例 #1
0
 public async Task <Study> GetWitParticipantsNoAccessCheck(int studyId)
 {
     return(await GetStudyFromQueryableThrowIfNotFound(StudyBaseQueries.ActiveStudiesWithParticipantsQueryable(_db), studyId));
 }
コード例 #2
0
 public async Task <Study> GetByIdAsync(int studyId, UserOperation userOperation)
 {
     return(await GetStudyFromQueryableThrowIfNotFoundOrNoAccess(StudyBaseQueries.ActiveStudiesWithParticipantsQueryable(_db), studyId, userOperation));
 }