I want to do something like this:
return RedirectToAction<SomeController>(c => Index(someparameter));
How to do it?
Thanks D.
This is a feature of the MvcContrib project.
Just download MvcContrib from here , add the link to MvcContrib.dll in your project, and then you can do exactly what you want.
is something wrong with?
return RedirectToAction("Action", "Controller", new { parameter1 = value, param2 = value2 });