Beispiel #1
0
        public JsonResult Details(int id)
        {
            var product = ProductBus.ViewProduct(id);

            return(Json(new
            {
                data = product,
                status = true
            }, JsonRequestBehavior.AllowGet));
        }