private void FillProperties(Domain.StoreManagement.Store store, List<Domain.CustomerManagement.Customer> customers) { StoreId = store.StoreId; StoreName = store.StoreName; AddressOne = store.AddressOne; AddressTwo = store.AddressTwo; City = store.City; State = store.State; ZipCode = store.ZipCode; PhoneNumber = store.PhoneNumber; EmailAddress = store.EmailAddress; this.Customers = new List<Customer.Customer>(); FillCustomers(customers); }
public Store(Domain.StoreManagement.Store store, List<Domain.CustomerManagement.Customer> customers) { FillProperties(store, customers); }
public Store(Domain.StoreManagement.Store store) { FillProperties(store, new List<Domain.CustomerManagement.Customer>()); }