How do I manually hook up an MVC controller and force it to perform an action?
I have a situation where I want to display content from another controller and action.
I don't want to redirect the user to a different url, I just want to connect the controller, pass it the information it needs, and return it the correct view. I want it to think that it should have been there, in that particular url where it was called.
How can I do that?
+2
source to share
2 answers