Ejemplo n.º 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
        }
Ejemplo n.º 2
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
        }