What exactly do you mean by passing an object between two controllers?
One approach is to create a base controller, and in the base constructor create that object.
Favio
2010-07-31 14:34:53
What exactly do you mean by passing an object between two controllers?
One approach is to create a base controller, and in the base constructor create that object.
An MVC controller's purpose is to handle input from the UI and delegate it to an appropriate class in the model. You should not have the need to pass an object between controllers.