public AccountApiController(IUserDTORepository repository, ApplicationUserManager userManager, IAuthenticationManager authenticationManager) { _userManager = userManager; _repository = repository; _authenticationManager = authenticationManager; }
public ApplicationOAuthProvider(string publicClientId, ApplicationUserManager userManager, IEfRepository <ClientMaster> clientMasterRepository, IUserDTORepository userRepository) { _publicClientId = publicClientId ?? throw new ArgumentNullException(nameof(publicClientId)); _userManager = userManager; _clientMasterRepository = clientMasterRepository; }
public ApiBaseController() { _userRepository = DependencyResolver.Current.GetService <IUserDTORepository>(); }