public async Task <Study> GetWitParticipantsNoAccessCheck(int studyId) { return(await GetStudyFromQueryableThrowIfNotFound(StudyBaseQueries.ActiveStudiesWithParticipantsQueryable(_db), studyId)); }
public async Task <Study> GetByIdAsync(int studyId, UserOperation userOperation) { return(await GetStudyFromQueryableThrowIfNotFoundOrNoAccess(StudyBaseQueries.ActiveStudiesWithParticipantsQueryable(_db), studyId, userOperation)); }