Пример #1
0
        public JsonResult DeleteCardProduct(int productId)
        {
            bool sonuc = CardBasket.DeleteProduct(productId);

            return(Json(sonuc, JsonRequestBehavior.AllowGet));
        }
Пример #2
0
        public JsonResult AddCardProduct(int productId, int quantity, int type)
        {
            bool sonuc = CardBasket.AddProduct(productId, quantity, type);

            return(Json(sonuc, JsonRequestBehavior.AllowGet));
        }