public JsonResult Detail(long id) { var dao = new ProductsDao(); var listProduct = dao.GetDetail(id); return(Json(new { data = listProduct, status = true }, JsonRequestBehavior.AllowGet)); }