public List<CustomRedirect> GetDeletedUrls() { DataStoreHandler dsHandler = new DataStoreHandler(); List<CustomRedirect> customRedirectList; customRedirectList = dsHandler.GetDeletedRedirect(); return customRedirectList; }
public ActionResult Deleted() { CheckAccess(); DataStoreHandler dsHandler = new DataStoreHandler(); var deletedRedirects = dsHandler.GetDeletedRedirect(); return View("Deleted", deletedRedirects); }