I have the following code:
var routeDictionary = new RouteValueDictionary {{"action", "Login"}, {"controller", "Persons"}};
filterContext.Result = new RedirectToRouteResult(routeDictionary);
That will produce "/Persons/Login
"
How can I pass an aditional querystring to the previous code? so that it produces "/Persons/Login/?someQuerystring=someValue
"
Try this: