您好我想为我的应用程序中的每个控制器创建自定义ActionFilterAttribute,此属性应设置一些ViewBag值.ActionFilterAttribute是否适合它以及如何在ActionFilterAttribute中访问viewbag?
asp.net-mvc asp.net-mvc-5
asp.net-mvc ×1
asp.net-mvc-5 ×1