Reputation: 2682
How can I get a collection and a Model in one Action in MVC (http Post)?
Upvotes: 0
Views: 94
Reputation: 5733
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.
Upvotes: 2
Reputation: 59
if i understand what you need correctly i think that you can add the collection to the model then send it
Upvotes: 0