阅读背景:

如何将强类型模型和模型列表同时传递给视图?

来源:互联网 

My end goal is to pass a strongly typed model (to populate a drop-down menu) and a list of models (based on a search query) to a view simultaneously from a controller. The view I am passing it to is the "Clear()" view. Currently in my HomeController.cs I have:My end goal is to pass a strongly typed model (




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: