public AuthenticationService(ITokenManager tokenManager, IAuthenticationProxy authenticationProxy, IUserContext userContext) { _tokenManager = tokenManager; _authenticationProxy = authenticationProxy; _userContext = userContext; }
public UserAccountController() { this.FormsAuthenticationService = DependencyFactory.Resolve<IAuthenticationProxy>(); this.FormsMembershipService = DependencyFactory.Resolve<IMembershipProxy>(); this.FormsProfileService = DependencyFactory.Resolve<IProfileProxy>(); }