//update status of orders public JsonResult cancel_order(string orderId, string status) { mage mage = new mage(); var result = mage.cancel_order(orderId, status); return(Json(JsonRequestBehavior.AllowGet)); }
//update status of orders public JsonResult cancel_order(string orderId, string status) { mage mage = new mage(); var result = mage.cancel_order(orderId, status); return(Json(JsonRequestBehavior.AllowGet)); }