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