Exemplo n.º 1
0
        public JsonResult DeleteCardProduct(int productId)
        {
            bool sonuc = CardBasket.DeleteProduct(productId);

            return(Json(sonuc, JsonRequestBehavior.AllowGet));
        }
Exemplo n.º 2
0
        public JsonResult AddCardProduct(int productId, int quantity, int type)
        {
            bool sonuc = CardBasket.AddProduct(productId, quantity, type);

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