阅读背景:

在ASP。NET MVC控制器,我可以通过调用另一个控制器上的操作来获得视图结果吗

来源:互联网 

I tried to simply new up a different controller and then calling the action method. The return value is of type ViewResult and the model was created, but the View is null. I guess the context in which the runtime tries to find the correct view is wrong.I tried to simply new up a different controller




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

分享到: