diff --git a/IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs b/IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs index 778964266..1f76ff680 100644 --- a/IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs +++ b/IRaCIS.Core.Application/Service/Doctor/DoctorListService.cs @@ -31,6 +31,7 @@ namespace IRaCIS.Core.Application.Service var query = _doctorRepository.AsQueryable() + .Where(x=>x.TrialId==null) .WhereIf(inQuery.DepartmentId != null, t => t.DepartmentId == inQuery.DepartmentId) .WhereIf(inQuery.SpecialityId != null, t => t.SpecialityId == inQuery.SpecialityId) .WhereIf(inQuery.HospitalId != null, t => t.HospitalId == inQuery.HospitalId)