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