The "Admin" area in my app contains a bunch of controllers, and it's a bit repetitive to put an [Authorize]
attribute on all of them. Is there a way of telling the framework that all controllers in a certain area should have certain attributes?
Edit: Inheritance is not a solution in this case. First of all the controllers already inherits from a custom class, and secondly, it should be about decorating the classes, not inheriting them.