zhoufan 4 lat temu
rodzic
commit
bd046fbc50

+ 6 - 0
CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/HomeController.cs

@@ -428,6 +428,12 @@ namespace CallCenterApi.Interface.Controllers
428 428
         {
429 429
             return Success(Configs.GetValue(key));
430 430
         }
431
+
432
+        public ActionResult Export()
433
+        {
434
+            var bt = new NPOIHelper().ExportToWord();
435
+            return File(bt, "application/msword", DateTime.Now.Ticks.ToString() + ".doc");
436
+        }
431 437
     }
432 438
 
433 439
 

Plik diff jest za duży
+ 215 - 1
CallCenterCommon/CallCenter.Utility/NPOI/NPOIHelper.cs