Exemple #1
0
        public JsonResult LoadDetail(int id)
        {
            var catalogDao = new CatalogDao();
            var catalog    = catalogDao.GetCatalogById(id);

            return(Json(new
            {
                data = catalog
            }, JsonRequestBehavior.AllowGet));
        }