コード例 #1
0
        public List <Customer> GetCustomersForStore(Guid storeId)
        {
            List <Customer> customers = new List <Customer>();

            foreach (var customerDataLayer in _customerAccess.LoadCustomersForStore(storeId))
            {
                customers.Add(new Customer(customerDataLayer));
            }

            return(customers);
        }