diff --git a/24Hour/Controllers/Common/LawyerservicesController.cs b/24Hour/Controllers/Common/LawyerservicesController.cs index 31b3f37..df45ed6 100644 --- a/24Hour/Controllers/Common/LawyerservicesController.cs +++ b/24Hour/Controllers/Common/LawyerservicesController.cs @@ -94,6 +94,7 @@ namespace _24Hour.Controllers.Common .WhereIF(Lawyerdata?.objectstr != null, q => q.objectstr.Contains(Lawyerdata.objectstr)) .WhereIF(Lawyerdata?.unitId != null, q => q.unitCode.Contains(Lawyerdata.unitId)) .WhereIF(Lawyerdata?.state != null, q => q.state == Lawyerdata.state) + .WhereIF(Lawyerdata?.IsAssigned != null, q => q.IsAssigned == Lawyerdata.IsAssigned) .WhereIF(Lawyerdata?.StartTime != null && Lawyerdata.EndTime != null, q => q.receptiontime >= Lawyerdata.StartTime && q.receptiontime < Lawyerdata.EndTime.Value.AddDays(1)) .WhereIF(string.IsNullOrEmpty(Lawyerdata.Id) == false, q => q.Id == Lawyerdata.Id) diff --git a/Elight.Logic/Model/App_LawyerServicesInput.cs b/Elight.Logic/Model/App_LawyerServicesInput.cs index 1b1aa1d..10f664e 100644 --- a/Elight.Logic/Model/App_LawyerServicesInput.cs +++ b/Elight.Logic/Model/App_LawyerServicesInput.cs @@ -82,5 +82,7 @@ namespace Elight.Logic /// [DataMember] public int? state { get; set; } + [DataMember] + public bool? IsAssigned { get; set; } } }