public JsonResult checkoutDelete(int productdtID, string size)
        {
            OrderOparations op   = new OrderOparations();
            int             sayi = op.mtdSepetSil(productdtID, size);


            return(Json(sayi, JsonRequestBehavior.AllowGet));
        }
        public JsonResult AddAddress(string adSoyad, string ulke, string sehir, string postaKodu, string adres)
        {
            OrderOparations op   = new OrderOparations();
            int             sayi = op.mtdAdresEkle(adSoyad, ulke, sehir, postaKodu, adres);


            return(Json(sayi, JsonRequestBehavior.AllowGet));
        }
        public JsonResult checkoutUpdate(int productdtID, string size, int quantity)
        {
            OrderOparations op   = new OrderOparations();
            int             sayi = op.mtdSepetGuncelle(productdtID, size, quantity);


            return(Json(sayi, JsonRequestBehavior.AllowGet));
        }
        public JsonResult AddtoBasket(int productdtID, string size, int quantity)
        {
            OrderOparations oo = new OrderOparations();
            OrderVM         ov = new OrderVM();

            ov = oo.mtdAddtoBasket(productdtID, size, quantity);

            return(Json(ov, JsonRequestBehavior.AllowGet));
        }
示例#5
0
        public ActionResult OrderCompleted()
        {
            //Mehmet Akif Ersoy Cad. Çiftlik Mah. No: 24 / 2 Beykoz / Çavuşbaşı
            OrderOparations odop = new OrderOparations();
            int             sayi = odop.SiparisTamamla();

            Session["TamamlandiMi"] = sayi;
            return(View());
        }