MVC3: Grouping Action Filters or calling Action Filters from other action filters

xccdark

New Member
I'm trying to write an attribute class that can be used on all my "admin" actions which then effectively applies all relevant action/auth filters to that action. For instance, I always apply the \[code\]AuthoriseAttribute\[/code\] and a custom \[code\]AdminLayoutAttribute\[/code\], so my intention is to just have an \[code\]AdminAttribute\[/code\] which somehow implies both the above. That way I can make changes to the entire Admin section in one handy place. However I don't see how I can do this. Can any one point me in the right direction?Much appreciated.
 
Back
Top