I have
public class FundController
{
private Site _site;
public ViewResult Fund()
{
}
}
I'd like to add an Action Filter to this Fund method:
public class FundController
{
private Site _site;
[MyFilter]
public ViewResult Fund()
{
}
}
but the Action Filter needs access to _site
. Is this possible? If so, how?