示例#1
0
        public Customer FindCustomer(Sales sales, Manager manager)
        {
            Customer newCustomer = new Customer(helper.GenerateId(), helper.RandomBusinessName(), helper.RandomBool());

            sales.AddCustomer(newCustomer);
            manager.AddCustomer(newCustomer);

            return(newCustomer);
        }