Here's a filter that I have:
public class ABCFilterAttribute : ActionFilterAttribute
{
public override void OnActionExecuting(HttpActionContext actionContext)
{
set();
base.OnActionExecuting(actionContext);
}
}
Here's my base controller that controllers inherit from:
public class BaseController : ApiController
{
public int abcd { get; private set; }
public void set()
{
abcd = 123;
}
I would like to call the function set() that's in the base controller. Is that possible and how could I do it?