public AccountTransactionService(IUnitOfWork unitOfWork, IAccountTransactionRepository transactionRepository, PaymentSourceRepository paymentSourceRepository, ICustomerAccountRepository customerAccountRepository) : base(unitOfWork) { _transactionRepository = transactionRepository; _paymentSourceRepository = paymentSourceRepository; _customerAccountRepository = customerAccountRepository; }
public TransactionInfoService(ICustomerRepository customerRepository, ICustomerAccountRepository customerAccountRepository, ITransactionRepository transactionRepository) { _customerRepo = customerRepository; _customerAccountRepo = customerAccountRepository; _transactionRepo = transactionRepository; }
public CustomerAccountService(IUnitOfWork unitOfWork, IPaymentPeriodRepository paymentPeriodRepository, ICustomerAccountRepository customerAccountRepository, StockService stockService, AccountTransactionService accountTransactionService, IBasketRepository basketRepository) : base(unitOfWork) { _paymentPeriodRepository = paymentPeriodRepository; _customerAccountRepository = customerAccountRepository; _stockService = stockService; _accountTransactionService = accountTransactionService; _basketRepository = basketRepository; }
public UnitOfWork(ICustomerRepository customerRepository, ICustomerAccountRepository customerAccountRepository, IFarePlanRepository farePlanRepository, ITransferRepository transferRepository) { Customer = customerRepository; CustomerAccount = customerAccountRepository; FarePlan = farePlanRepository; Transfer = transferRepository; }
public AccountController( ICustomerAccountRepository customerAccountRepository, ITransactionProxyService transactionProxyService, IMapper mapper, ILogger <AccountController> logger) { _customerAccountRepository = customerAccountRepository; _transactionProxyService = transactionProxyService; _mapper = mapper; _logger = logger; }
public CustomerAccountController(ICustomerAccountRepository customerAccountRepository, IMapper mapper, IPropertyMappingService propertyMappingService, IPropertyCheckerService propertyCheckerService) { _customerAccountRepository = customerAccountRepository ?? throw new ArgumentNullException(nameof(customerAccountRepository)); _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper)); _propertyMappingService = propertyMappingService ?? throw new ArgumentNullException(nameof(propertyMappingService)); _propertyCheckerService = propertyCheckerService ?? throw new ArgumentNullException(nameof(propertyCheckerService)); }
public CustomerAccountQueryHandlerTest() { var config = new MapperConfiguration(opts => { opts.AddProfile <BankMappingProfile>(); }); _mapper = config.CreateMapper(); _customerAccountRepository = Substitute.For <ICustomerAccountRepository>(); _sut = new CustomerAccountQueryHandler(_customerAccountRepository, _mapper); }
public BillCycleService(IUnitOfWork unitOfWork, CustomerService customerService, TransactionsService transactionsService, IInvoiceRepository invoiceRepository, ICustomerAccountRepository contractUnitRepository, IPostedRepository postedRepository, IBillCycleRunRepository billCycleRunRepository, MiscService miscService) : base(unitOfWork) { _customerService = customerService; _transactionsService = transactionsService; _invoiceRepository = invoiceRepository; _contractUnitRepository = contractUnitRepository; _postedRepository = postedRepository; _billCycleRunRepository = billCycleRunRepository; _miscService = miscService; }
public ContractService(IUnitOfWork unitOfWork, StockService stockService, ICustomerAccountRepository contractUnitRepository, IContractTypeRepository contractTypeRepository, IContractRepository contractRepository, IPaymentPeriodRepository paymentPeriodRepository, IRentedUnitRepository rentedUnitRepository, IPostedRepository postedRepository, MiscService miscService) : base(unitOfWork) { _stockService = stockService; _contractUnitRepsoitory = contractUnitRepository; _contractTypeRepository = contractTypeRepository; _contractRepository = contractRepository; _paymentPeriodRepository = paymentPeriodRepository; _rentedUnitRepository = rentedUnitRepository; _postedRepository = postedRepository; _miscService = miscService; }
public CustomerService(ICustomerRepository customerRepository, ICustomerAccountRepository contractUnitRepository, IDocumentRepository documentRepository, IUnitOfWork unitOfWork) : base(unitOfWork) { _customerRepository = customerRepository; _contractUnitRepository = contractUnitRepository; _documentRepository = documentRepository; }
public CustomerRepository(IAccountRepository accountRepository, ICustomerAccountRepository customerAccountRepository, AppDbContext appDbContext) { _accountRepository = accountRepository; _customerAccountRepository = customerAccountRepository; _appDbContext = appDbContext; }
public TransferQueryHandler(ITransferRepository transferRepository, ICustomerAccountRepository customerAccountRepository, IMapper mapper) => (_transferRepository, _customerAccountRepository, _mapper) = (transferRepository, customerAccountRepository, mapper);
public CardService(ICustomerAccountRepository customerAccountRepository) { _customerAccountRepository = customerAccountRepository; }
public FinnOneCustomerAccountController(ICustomerAccountRepository customerAccountRepository) { this.customerAccountRepository = customerAccountRepository; }
public CustomerAccountQueryHandler(ICustomerAccountRepository customerAccountRepository, IMapper mapper) => (_customerAccountRepository, _mapper) = (customerAccountRepository, mapper);
public CashierController(ICustomerAccountRepository customerAccountRepository) { _customerAccountRepo = customerAccountRepository; }
public TransferValidationScope(ICustomerAccountRepository accountRepository) { _accountRepository = accountRepository; }