阅读背景:

如何为所有视图设置ViewBag属性,而不使用控制器的基类?

来源:互联网 

In the past I've stuck common properties, such as the current user, onto ViewData/ViewBag in a global fashion by having all Controllers inherit from a common base controller.In the past I've stuck common properties, such




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

分享到: