BVNetwork.NotFound.Controllers.NotFoundRedirectController.DeleteAllIgnored C# (CSharp) Method

DeleteAllIgnored() public method

public DeleteAllIgnored ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult DeleteAllIgnored()
        {
            CheckAccess();
            var dsHandler = new DataStoreHandler();
            int deleteCount = dsHandler.DeleteAllIgnoredRedirects();
            string infoText = string.Format(LocalizationService.Current.GetString("/gadget/redirects/ignoredremoved"), deleteCount);
            ViewData["information"] = infoText;
            return View("Administer");
        }