Example #1
0
        //EventContextDB db = new EventContextDB();


        // The HttpContext object is unique to every session
        // As long as browser is not close to start a new session user will have access to their order and or cart
        public static OrderCart GetOrder(HttpContextBase context)   // OrderCartId is one of the properties
        {
            OrderCart order = new OrderCart();

            order.OrderCartId = order.GetOrderId(context);
            return(order);
        }