Beispiel #1
0
        public void Checkout(IEnumerable <Product> products, CustomerBefore customer)
        {
            if (!customer.IsNotFlagged)
            {
                // the customer account is flagged
                // log some errors and return
                return;
            }

            // normal order processing
        }
        public void Checkout(IEnumerable<Product> products, CustomerBefore customer)
        {
            if (!customer.IsNotFlagged)
            {
                // the customer account is flagged
                // log some errors and return
                return;
            }

            // normal order processing
        }