I want to send appId variable value to filter
// GET api/filter
[CustomFilter]
public IEnumerable<string> Get()
{
var appId = 123;
return new string[] { "value1", "value2" };
}
I can use either OnActionExecuting or OnActionExecuted method
public override void OnActionExecuting(HttpActionContext actionContext)
{
base.OnActionExecuting(actionContext);
//here i want to access appId value
}
I know how to access parameter values using querystring