public void CreateAccount(Customer customer, bool withChecking, bool withSavings, bool withStocks) { // do work }
public void CreateAccountWithChecking(Customer customer) { CreateAccount(customer, true, false); }
private void CreateAccount(Customer customer, bool withChecking, bool withSavings) { // do work }
public void CreateAccountWithCheckingAndSavings(Customer customer) { CreateAccount(customer, true, true); }
public void RentVideo(Video video, Customer customer) { customer.Videos.Add(video); }
public decimal CalculateBalance(Customer customer) { return customer.LateFees.Sum(); }