public IActionResult GetMachineHistoryList(ReportFilter ReportFilterRequest)
        {
            ReportFilterRequest.searchStartDate = ReportFilterRequest.searchStartDate == DateTime.MinValue ? DateTime.MinValue : ReportFilterRequest.searchStartDate;
            ReportFilterRequest.searchEndDate   = ReportFilterRequest.searchEndDate == DateTime.MinValue ? DateTime.MaxValue : ReportFilterRequest.searchEndDate;
            var response = _iAdminReportService.GetMachineHistoryList(ReportFilterRequest);

            return(Ok(response));
        }
        public IActionResult GetMachineHistoryList(ReportFilter request)
        {
            var response = _adminReport.GetMachineHistoryList(request);

            if (response.isSuccess == false)
            {
                return(null);
            }
            return(Ok(response));
        }