public Account(Customer customer, decimal balance, decimal interestRate, IInterestRateCalculator calculate) { this.Customer = customer; this.Balance = balance; this.InterestRate = interestRate; this.Calculate = calculate; }
public LoanApplicationHandlers(ILoanApplicationRepository loanApplicationRepository, IInterestRateCalculator interestRateCalculator) { _loanApplicationRepository = loanApplicationRepository; _interestRateCalculator = interestRateCalculator; }