public ActionResult SqlReportExcel(string report, string orgIds) { try { var m = new OrgSearchModel(); return m.SqlTableExcel(report, orgIds); } catch (Exception ex) { return Message(ex); } }
public ActionResult SqlReportExcel(string report, string orgIds, DateTime? dt1 = null, DateTime? dt2 = null) { try { var m = new OrgSearchModel(); return m.SqlTableExcel(report, orgIds, dt1, dt2); } catch (Exception ex) { return Message(ex); } }