public Loan(RateCalculator rateCalculator, string firstName, string lastName, DateTime applicationDate, decimal loanAmount, TimeSpan term) { _rateCalculator = rateCalculator; FirstName = firstName; LastName = lastName; ApplicationDate = applicationDate; LoanAmount = loanAmount; Term = term; }
public BeforeController(RateCalculator rateCalculator) { _rateCalculator = rateCalculator; }
public LoanFactory(RateCalculator rateCalculator) { _rateCalculator = rateCalculator; }