diff --git a/BMA.EHR.Leave.Service/Controllers/LeaveController.cs b/BMA.EHR.Leave.Service/Controllers/LeaveController.cs index e0d3a711..f24afb4a 100644 --- a/BMA.EHR.Leave.Service/Controllers/LeaveController.cs +++ b/BMA.EHR.Leave.Service/Controllers/LeaveController.cs @@ -522,10 +522,10 @@ namespace BMA.EHR.Leave.Service.Controllers }) .ToList(); - if (data == null || data.Count == 0) - { - return Error(new Exception(GlobalMessages.DataNotFound), (int)StatusCodes.Status404NotFound); - } + // if (data == null || data.Count == 0) + // { + // return Error(new Exception(GlobalMessages.DataNotFound), (int)StatusCodes.Status404NotFound); + // } return Success(new { data = data, total = data.Count }); }