This commit is contained in:
2022-12-13 14:25:22 +08:00
parent 35bdac371c
commit 4079035d22
2 changed files with 8 additions and 2 deletions
@@ -116,7 +116,6 @@ namespace IRaCIS.Core.Application.Contracts
}
}
if (userTypeSelectEnum == UserTypeSelectEnum.SiteSurvey)
{
userTypeEnums = new List<UserTypeEnum>() { UserTypeEnum.CRA, UserTypeEnum.ClinicalResearchCoordinator };
@@ -138,7 +137,6 @@ namespace IRaCIS.Core.Application.Contracts
var query = userTypeServiceRepository.Where(x => x.UserTypeEnum != UserTypeEnum.SuperAdmin)
.WhereIf(userTypeSelectEnum != UserTypeSelectEnum.None, t => userTypeEnums.Contains(t.UserTypeEnum))
.OrderBy(t => t.Order).ProjectTo<TrialUserType>(_mapper.ConfigurationProvider);