Ejemplo n.º 1
0
        public IActionResult ExportOrderForm()
        {
            if (!AuthorizeManager.InAdminGroup(User.Identity.Name))
            {
                return(NotFound());
            }

            CSVManager.ExportOrderForm(_context);

            return(RedirectToAction("Index"));
        }