Is there a way to set a group of actions inside of a controller to require the user to be in a certain role?
So for example if I have 5 Actions that I want to require the user to be in a "Recruiting" role can I group the code and then have all those action require the same Role based off of a single Annotation?
Inversely if that isn't possible is there a way to mark the class to require a certain role and them is there an annotation to set a few actions to ignore this requirement?
Lastly if this isn't an option can you use partial classes to accomplish this?
Any other methods I'm not thinking of that would work.