diff --git a/ServiceHost/Areas/Client/Controllers/RollCall/CaseHistoryController.cs b/ServiceHost/Areas/Client/Controllers/RollCall/CaseHistoryController.cs index 40a8a9d4..5f8b8b77 100644 --- a/ServiceHost/Areas/Client/Controllers/RollCall/CaseHistoryController.cs +++ b/ServiceHost/Areas/Client/Controllers/RollCall/CaseHistoryController.cs @@ -51,16 +51,16 @@ public class CaseHistoryController : ClientBaseController return await _rollCallApplication.GetCaseHistoryDetails(_workshopId, titleId, searchModel); } - [HttpGet("excel")] - public async Task GetDownload(string titleId,RollCallCaseHistorySearchModel searchModel) - { - var data = await _rollCallApplication.GetCaseHistoryDetails(_workshopId, titleId, searchModel); - byte[] excelBytes = RollCallExcelGenerator.CaseHistoryExcelForOneDay(data); - return File(excelBytes, - "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", - $"{workshopFullName} - {caseHistoryRollCallExcelForOneDay.DayOfWeekFa}،{caseHistoryRollCallExcelForOneDay.DateFa}.xlsx"); - - } + // [HttpGet("excel")] + // public async Task GetDownload(string titleId,RollCallCaseHistorySearchModel searchModel) + // { + // var data = await _rollCallApplication.GetCaseHistoryDetails(_workshopId, titleId, searchModel); + // byte[] excelBytes = RollCallExcelGenerator.CaseHistoryExcelForOneDay(data); + // return File(excelBytes, + // "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + // $"{workshopFullName} - {caseHistoryRollCallExcelForOneDay.DayOfWeekFa}،{caseHistoryRollCallExcelForOneDay.DateFa}.xlsx"); + // + // } // [HttpGet("edit")] // public ActionResult<> GetEditDetails(string date,long employeeId)