I'm using Abp framework with MVC. I have an anonymous method that calls a bunch of methods inside it which all of the them have [Authorize] attribute. I want to call this parent method and all of the inside methods as anonymous without setting all the inside methods as anonymous. Currently I'm getting an error about not being authorized for calling those sub methods. How can I achieve this?
Thanks
For example:
[Authorize]
void A(){}
[Authorize]
void B(){}
[AbpAllowAnonymous]
void C(){
//call these two
A();
B();
}