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