public void ExportToExcel(IEnumerable <DataTable> dataTables, string fileName, bool launchExcel)
 {
     ExportToExcelTask.ExportDataTablesToExcel(dataTables, fileName, launchExcel);
 }
Example #2
0
 public Task ExportToExcelAsync(IEnumerable <DataTable> dataTables, string fileName, bool launchExcel = true) =>
 Task.Run(() => ExportToExcelTask.ExportDataTablesToExcel(dataTables, fileName, launchExcel));