コード例 #1
0
 public ActionResult ReportPurchaseSummary(string companyId, string branchId, string supplierId, string dateFrom, string dateTo)
 {
     try
     {
         var dataSet = _rawSqlService.GetPurchaseSummary(companyId, branchId, supplierId, dateFrom, dateTo);
         return(View(dataSet));
     }
     catch (Exception ex)
     {
         return(JavaScript($"ShowResult('{ex.Message}','failure')"));
     }
 }