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