Example #1
0
 public JsonResult GetNewsList(int newstype, int page, int pageSize)
 {
     JsonResult result = new JsonResult();
     News bll = new News();
     var t = bll.FindByPage(newstype,page,pageSize);
     return Json(t, JsonRequestBehavior.AllowGet);
 }