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);
		}
Ejemplo n.º 5
0
		public void RentVideo(Video video, Customer customer)
		{
			customer.Videos.Add(video);
		}
Ejemplo n.º 6
0
		public decimal CalculateBalance(Customer customer)
		{
			return customer.LateFees.Sum();
		}