add endpoint to download case history as Excel file

This commit is contained in:
2026-02-02 17:54:33 +03:30
parent 5942075dd6
commit 88744bd4cf
3 changed files with 39 additions and 14 deletions

View File

@@ -131,6 +131,16 @@ namespace CompanyManagment.App.Contracts.RollCall
Task<PagedResult<RollCallCaseHistoryTitleDto>> GetCaseHistoryTitles(long workshopId,RollCallCaseHistorySearchModel searchModel);
Task<List<RollCallCaseHistoryDetail>> GetCaseHistoryDetails(long workshopId, string titleId,
RollCallCaseHistorySearchModel searchModel);
Task<RollCallCaseHistoryExcelDto> DownloadCaseHistoryExcel(long workshopId, string titleId,
RollCallCaseHistorySearchModel searchModel);
}
public class RollCallCaseHistoryExcelDto
{
public byte[] Bytes { get; set; }
public string FileName { get; set; }
public string MimeType { get; set; }
}
public class RollCallCaseHistoryDetail