private Save ( string oldUrl, string newUrl, string skipWildCardAppend, int pageNumber, int pageSize ) : System.Web.Mvc.ActionResult | ||
oldUrl | string | |
newUrl | string | |
skipWildCardAppend | string | |
pageNumber | int | |
pageSize | int | |
return | System.Web.Mvc.ActionResult |
public ActionResult Save(string oldUrl, string newUrl, string skipWildCardAppend, int? pageNumber, int? pageSize)
{
CheckAccess();
SaveRedirect(oldUrl, newUrl, skipWildCardAppend);
List<CustomRedirect> redirectList = GetData(null);
string actionInfo = string.Format(LocalizationService.Current.GetString("/gadget/redirects/saveredirect"), oldUrl, newUrl);
return View("Index", GetRedirectIndexViewData(pageNumber, redirectList, actionInfo, null, pageSize, false, true));
}