public ActionResult EditProductDetail(ProductDetailModel productDetailModel) { if (ModelState.IsValid) { _productDetailService.EditProductDetail(productDetailModel); return(Json(new { data = "success" }, JsonRequestBehavior.AllowGet)); } return(new HttpStatusCodeResult(HttpStatusCode.NoContent)); }