예제 #1
0
        public JsonResult AddProduct(string pid)
        {
            AddToCartBean aBean = new AddToCartBean();

            aBean.pid = pid;
            AddToCart.AddCart(aBean);
            return(Json(AddToCart.getCartNumberofItem(), JsonRequestBehavior.AllowGet));
        }