So I have been reading some comments on StackOverlow, saying that you shouldn't put business logic in a custom ActionFilterAttribute
because it is considered meta data.
For example accessing a repository and doing some checks, and processing accordingly within your custom attribute (bad).
Firstly I am not sure how much I agree with this because alot of the framework Filters (Authenticate) etc, do business logic - the main difference it is mostly within the scope of the controller only i.e. only accessing controller values, route data etc.
So my question is, when you do need to use an ActionFilter to flag individual Actions for additional logic/processing, where do you put the logic?
Thanks for the input/