I using:
using Microsoft.Extensions.DependencyInjection;
When I try to create new ActionFilter i need have access to other services so I try write standard constructor inject but when my costructor have parameters I have to write something like that:
[OAuthFilter(serviceToInject)]
I cant to that becouse action filters can't have this kind of parameters.
What I should do? Action filters can't have a inject constructors?