//increase order public JsonResult IncreaseOrder(int id) { var dbModel = new ProductDetailsModel(); try { dbModel.Increase_order(id); return(Json("Đã cập nhật", JsonRequestBehavior.AllowGet)); } catch (Exception ex) { System.Diagnostics.Debug.WriteLine(ex.Message); return(Json("Có lỗi xảy ra!", JsonRequestBehavior.AllowGet)); } }