public IActionResult ExportProduct2() { if (!AuthorizeManager.InAdminGroup(User.Identity.Name)) { return(NotFound()); } CSVManager.ExportProduct2(_context); return(RedirectToAction("Index")); }