public JsonResult GetProductList(int Category, int pageSize, int page) { JsonResult result = new JsonResult(); Product bll = new Product(); var t = bll.FindByPage(Category, pageSize, page); return Json(t, JsonRequestBehavior.AllowGet); }
public JsonResult GetProductList(int Category, int pageSize, int page) { JsonResult result = new JsonResult(); Product bll = new Product(); var t = bll.FindByPage(Category, pageSize, page); return Json(t, JsonRequestBehavior.AllowGet); }