public JsonResult GetAboutUsList(int PageIndex, int PageSize) { var data = new Smart.Framework.BLL.Commondata().FindByPage(PageSize, PageIndex); if (data.Count() > 0) { return Json(data); } return Json(""); }
public JsonResult Detail(string key) { var data = new Smart.Framework.BLL.Commondata().FindByKey(key); if (data != null) { return Json(data); } return Json(""); }