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')")); } }