Пример #1
0
 public IActionResult Export(SearchFund searchFund)
 {
     try
     {
         var fileContent = _fundService.ExportFund(searchFund);
         return(File(fileContent?.Result, "application/ms-excel", $"Funds.xlsx"));
     }
     catch (System.Exception ex)
     {
         throw ex;
     }
 }