예제 #1
0
        public CartUtilities()
        {
            Session     = HttpContext.Current.Session;
            Application = HttpContext.Current.Application;

            productUtil = new ProductUtilities();
            orderUtil   = new OrderUtilities();
            userUtil    = new UserUtilities();
        }
예제 #2
0
        public OrderUtilities()
        {
            Server = HttpContext.Current.Server;

            userUtil    = new UserUtilities();
            productUtil = new ProductUtilities();

            orderDB = new Database();
            orderDB.ReadXml(Server.MapPath(OrderPath));
        }