Beispiel #1
0
        public ActionResult ExpToExcel(AuditLogViewModel ALVM, string command)
        {
            bool result = false;

            if (command == "toExcel")
            {
                AuditLogManager ALM = new AuditLogManager();
                result = ALM.ExportToExcel(ALVM);
            }
            else if (command == "toPDF")
            {
                AuditLogManager ALM = new AuditLogManager();
                result = ALM.ExportToPDF(ALVM);
            }
            return(RedirectToAction("Index"));
        }