System.ComponentModel.Navigation.Controller.Redirect C# (CSharp) Method

Redirect() protected method

Creates a RedirectActionResult that results in a redirect to the specified controller and action along with any specified parameters.
protected Redirect ( Type controllerType, string actionName ) : RedirectActionResult
controllerType System.Type The controller to redirect to.
actionName string The name of the action on the specified controller to redirect to.
return RedirectActionResult
        protected RedirectActionResult Redirect(Type controllerType, string actionName, params string[] parameters)
        {
            return new RedirectActionResult(controllerType, actionName, parameters);
        }

Same methods

Controller::Redirect ( string actionName ) : RedirectActionResult