public CheckingAccountTransactionDomain(ICurrencyRepository currencyRepository, ICheckingAccountTransactionRepository checkingAccountTransactionRepository, IConnectionMultiplexer connectionMultiplexer, IDistributedLockFactory distributedLockFactory) { this.currencyRepository = currencyRepository; this.checkingAccountTransactionRepository = checkingAccountTransactionRepository; this.connectionMultiplexer = connectionMultiplexer; this.distributedLockFactory = distributedLockFactory; }
public CheckingAccountDomain(ICheckingAccountStatusRepository checkingAccountStatusRepository, ICheckingAccountRepository checkingAccountRepository, ICheckingAccountTransactionRepository checkingAccountTransactionRepository, ICheckingAccountTransactionStatusRepository checkingAccountTransactionStatusRepository, ICheckingAccountTransactionTypeRepository checkingAccountTransactionTypeRepository, ICurrencyRepository currencyRepository) { this.checkingAccountStatusRepository = checkingAccountStatusRepository; this.checkingAccountRepository = checkingAccountRepository; this.checkingAccountTransactionRepository = checkingAccountTransactionRepository; this.checkingAccountTransactionStatusRepository = checkingAccountTransactionStatusRepository; this.checkingAccountTransactionTypeRepository = checkingAccountTransactionTypeRepository; this.currencyRepository = currencyRepository; }