public JsonResult ProductDetail(int idProduct) { try { return(Json(new { dataResult = produitDAO.Detail(idProduct) }, JsonRequestBehavior.AllowGet)); } catch (Exception ex) { return(ThrowJsonError(ex)); } }