Exemple #1
0
 public ProxyController(IAccountGateway accountServices,
                        ICustomerGateway customerService, IIdentityGateway identityService)
 {
     _accountServices = accountServices;
     _customerService = customerService;
     _identityService = identityService;
 }
Exemple #2
0
 public List(
     IResponseHandler <Response> responseHandler,
     IAccountGateway accountGateway)
 {
     _responseHandler = responseHandler;
     _accountGateway  = accountGateway;
 }
        public void SetUp()
        {
            _settingGateway = new SettingGatewayForTests();
            _settingGateway.SetWorkingDirectory(_initialWorkingDirectory);
            var safeProvider = new SafeProvider();

            _accountGateway = Substitute.For <IAccountGateway>();
            _cryptor        = Substitute.For <ICryptor>();

            safeProvider.SettingGateway = _settingGateway;
            safeProvider.AccountGateway = _accountGateway;
            safeProvider.Cryptor        = _cryptor;
            _safeProvider = safeProvider;
        }
 public AccountsManager(ICommonManager iCommonManager, IAccountGateway iAccountGateway)
 {
     _iCommonManager  = iCommonManager;
     _iAccountGateway = iAccountGateway;
 }
 public CreateLegalEntityCommandHandler(ILegalEntityRepository legalEntityRepository, IAccountGateway accountGateway)
 {
     _legalEntityRepository = legalEntityRepository;
     _accountGateway        = accountGateway;
 }
Exemple #6
0
 public RemovePayeSchemeCommandHandler(IPayeSchemeRepository payeSchemeRepository, IAccountGateway accountGateway)
 {
     _payeSchemeRepository = payeSchemeRepository;
     _accountGateway       = accountGateway;
 }
Exemple #7
0
 public CreateAccountCommandHandler(IAccountRepository accountRepository, IAccountGateway accountGateway, IMediator mediator)
 {
     _accountRepository = accountRepository;
     _accountGateway    = accountGateway;
     _mediator          = mediator;
 }
Exemple #8
0
 public EasStatisticsHandler(IAccountGateway accountGateway, ILog logger)
 {
     _logger         = logger ?? throw new ArgumentNullException(nameof(logger));
     _accountGateway = accountGateway;
 }
Exemple #9
0
 public RenameAccountCommandHandler(IAccountRepository accountRepository, IAccountGateway accountGateway)
 {
     _accountRepository = accountRepository;
     _accountGateway    = accountGateway;
 }
Exemple #10
0
 public Remove(IAccountGateway accountGateway)
 {
     _accountGateway = accountGateway;
 }
 public CreateEmployerAgreementCommandHandler(IEmployerAgreementRepository employerAgreementRepository, IAccountGateway accountGateway)
 {
     _employerAgreementRepository = employerAgreementRepository;
     _accountGateway = accountGateway;
 }
Exemple #12
0
 public CreateLevyDeclarationsCommandHandler(ILevyDeclarationRepository levyDeclarationRepository, IAccountGateway accountGateway)
 {
     _levyDeclarationRepository = levyDeclarationRepository;
     _accountGateway            = accountGateway;
 }
Exemple #13
0
 public AddPaymentMethod(IResponseHandler <Response> responseHandler, IAccountGateway accountGateway)
 {
     _responseHandler = responseHandler;
     _accountGateway  = accountGateway;
 }
Exemple #14
0
 public Add(IResponseHandler <Response> responseHandler, IAccountGateway accountGateway, IEntitiesFactory entitiesFactory)
 {
     _responseHandler = responseHandler;
     _accountGateway  = accountGateway;
     _entitiesFactory = entitiesFactory;
 }