Пример #1
0
 public ActionResult DeleteAllRedirects()
 {
     CheckAccess();
     _redirectsService.DeleteAll();
     CustomRedirectHandler.ClearCache();
     ViewData["information"] = LocalizationService.Current.GetString("/gadget/redirects/redirectsdeleted");
     return(View("Administer"));
 }
Пример #2
0
 public void DeleteAllCustomRedirects()
 {
     _redirectsService.DeleteAll();
 }