public CartUtilities()
        {
            Session     = HttpContext.Current.Session;
            Application = HttpContext.Current.Application;

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

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

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