System.Web.Mvc.Controller_Extensions.RedirectTo C# (CSharp) Method

RedirectTo() public static method

public static RedirectTo ( this self, AppLocalUrl location, bool permanent = false ) : System.Web.Mvc.ActionResult
self this
location AppLocalUrl
permanent bool
return System.Web.Mvc.ActionResult
        public static ActionResult RedirectTo(this ControllerBase self, AppLocalUrl location, bool permanent = false)
        {
            var uri = location.Resolved(self.ControllerContext.HttpContext);
            return new RedirectResult(uri, permanent);
        }

Same methods

Controller_Extensions::RedirectTo ( this self, UrlPattern zeroArgumentPath, bool permanent = false ) : System.Web.Mvc.ActionResult
Controller_Extensions