Пример #1
0
 public ImpersonationAuthorizationContext(HttpContextBase httpContext,
                                          IAuthorizationContextProvider authorizationContextProvider,
                                          IEmployerAccountTeamRepository employerAccountTeamRepository, IUserContext userContext)
 {
     _httpContext = httpContext;
     _authorizationContextProvider  = authorizationContextProvider;
     _employerAccountTeamRepository = employerAccountTeamRepository;
     _userContext = userContext;
 }
Пример #2
0
 public GetMemberQueryHandler(IEmployerAccountTeamRepository accountTeamRepository, IHashingService hashingService)
 {
     if (accountTeamRepository == null)
     {
         throw new ArgumentNullException(nameof(accountTeamRepository));
     }
     _accountTeamRepository = accountTeamRepository;
     _hashingService        = hashingService;
 }
 public GetTeamMembersRequestHandler(
     IEmployerAccountTeamRepository repository,
     IValidator <GetTeamMembersRequest> validator,
     ILog logger)
 {
     _repository = repository;
     _validator  = validator;
     _logger     = logger;
 }
 public GetAccountTeamMembersHandler(
     IValidator <GetAccountTeamMembersQuery> validator,
     IEmployerAccountTeamRepository repository,
     IMediator mediator,
     IMembershipRepository membershipRepository, IUserContext userContext)
 {
     _validator            = validator;
     _repository           = repository;
     _mediator             = mediator;
     _membershipRepository = membershipRepository;
     _userContext          = userContext;
 }
Пример #5
0
 public GetAccountTeamMembersHandler(IValidator <GetAccountTeamMembersQuery> validator, IEmployerAccountTeamRepository repository)
 {
     _validator  = validator;
     _repository = repository;
 }