开发者

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

开发者 https://www.devze.com 2023-03-28 10:22 出处:网络
How can I get a collection and a 开发者_C百科Model in one Action in MVC (http Post)?Not sure, if I got you right. But you could use a class wrapping it. The class gets a property for the collection an

How can I get a collection and a 开发者_C百科Model in one Action in MVC (http Post)?


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.


if i understand what you need correctly i think that you can add the collection to the model then send it

0

精彩评论

暂无评论...
验证码 换一张
取 消