I wish to redirect to a route but also specify the action to run on that route's controller.
I tried this:
Response.RedirectToRoute("Login", new { action = "ChangePassword" });
The action looks like this:
public ActionResult ChangePassword()
{}
The route looks like this:
routes.MapRoute("Login", "Login/{action}", new { controller = "Login",
action = "Index" } );
The error I get is :
System.NotImplementedException: The method or operation is not implemented.
Can you see what I'm doing wrong?