Beispiel #1
0
 /// <summary>
 /// Экспорт в Excel
 /// </summary>
 /// <param name="fileName"></param>
 public void Export(string fileName)
 {
     try
     {
         _export.Export(_result, fileName);
     }
     catch (Exception e)
     {
         var ex = new ExcelExportException(e);
         _view.ViewException(ex);
     }
 }
Beispiel #2
0
 /// <summary>
 /// Экспорт в Excel
 /// </summary>
 /// <param name="fileName"></param>
 public void Export(string fileName)
 {
     try
     {
         _export.Export(_result, fileName);
     }
     catch (Exception e)
     {
         var ex = new ExcelExportException(e);
         _view.ViewException(ex);
     }
 }