Пример #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));
 }