Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 MVC(http Post)中的一个操作中获取集合和模型?
不确定,如果我说对了。但是你可以使用一个类来包装它。该类获得集合的属性和模型的另一个属性,然后作为新模型工作。
if i understand what you need correctly i think that you can add the collection to the model then send it