public virtual IActionResult exportReportContractPaymentAcceptance(ReportContractPaymentAcceptanceSearchModel searchModel)
 {
     if (!string.IsNullOrEmpty(searchModel.StringConstructionIds))
     {
         var listConstruction = searchModel.StringConstructionIds.Split(',').ToList();
         searchModel.ConstructionIds = listConstruction.Select(c => (int)c.ToNumber()).ToList();
     }
     try
     {
         var report = _reportService.GetReportContractPaymentAcceptance(
             contractCodeName: searchModel.contractCodeName,
             dateTimeFrom: searchModel.dateTimeFrom,
             datetimeTo: searchModel.datetimeTo,
             unitCode: searchModel.unitCode,
             quarterId: searchModel.quarterId,
             yearId: searchModel.yearId);
         byte[] bytes;
         using (var stream = new MemoryStream())
         {
             _exportManager.ExportExcelContractPaymentAcceptance(report, stream);
             bytes = stream.ToArray();
         }
         return(File(bytes, MimeTypes.TextXlsx, "Baocaonghiemthunoibo.xlsx"));
     }
     catch (Exception exc)
     {
         ErrorNotification(exc);
         return(RedirectToAction("List"));
     }
 }