public TermsOfServiceController( IUserToSService userToSService, ICurrentSecurityUserProvider currentSecurityUserProvider) { _userToSService = userToSService; _currentSecurityUserProvider = currentSecurityUserProvider; }
public TermsOfServiceFilter( IFactory <HttpContext, IRequestMethodProvider> requestMethodProviderFactory, IUserToSService userToSService, ICurrentSecurityUserProvider currentSecurityUserProvider, IFactory <ControllerActionDescriptor, IEndpointProvider> endpointProvider) { _requestMethodProviderFactory = requestMethodProviderFactory; _currentSecurityUserProvider = currentSecurityUserProvider; _endpointProvider = endpointProvider; _userToSService = userToSService; }