Ejemplo n.º 1
0
        public JsonResult GetHomeInfo()
        {
            HomeManager homeManager = new HomeManager();
            HomeModel   homeInfo    = homeManager.GetHomeInfo();
            var         result      = new AjaxResult
            {
                Success = true,
                Data    = homeInfo
            };

            return(Json(result));
        }