示例#1
0
        private static void InitCustomers()
        {
            customers = new List <Customer>();

            var customer = domainService.CreateCustomer("Igor Nikolaev");

            customers.Add(customer);

            customer = domainService.CreateCustomer("Jhon Travolta");
            customers.Add(customer);
        }
示例#2
0
 protected Customer CreateIgorCustomer()
 {
     return(domainService.CreateCustomer(CustomerData.IgorName));
 }