Search code examples
c#asp.net-mvc-2http-posthttp-method

How can I get a collection and a Model in one Action in MVC?


How can I get a collection and a Model in one Action in MVC (http Post)?


Solution

  • Not sure, if I got you right. But you could use a class wrapping it. The class gets a property for the collection and another one for the model and works as the new model then.