Пример #1
0
 public JsonResult GetMsg(int page, int pageSize)
 {
     JsonResult result = new JsonResult();
     FeedBack bll = new FeedBack();
     var t = bll.FindByPage(pageSize, page);
     return Json(t);
 }
Пример #2
0
 public JsonResult Get(int page, int pageSize)
 {
     JsonResult result = new JsonResult();
     FeedBack bll = new FeedBack();
     var t = bll.FindByPage(pageSize, page);
     return Json(t, JsonRequestBehavior.AllowGet);
 }