public JsonResult GetHomeInfo() { HomeManager homeManager = new HomeManager(); HomeModel homeInfo = homeManager.GetHomeInfo(); var result = new AjaxResult { Success = true, Data = homeInfo }; return(Json(result)); }