如果我在控制器和动作上都有Authorize属性,哪一个会起作用?或者都会生效?
asp.net-mvc authorize-attribute
asp.net-mvc ×1
authorize-attribute ×1