Beispiel #1
0
        public OtherPageList getList(OtherPageInfo model)
        {
            OtherPageList otherPageList = new OtherPageList();
            DataTable     dt            = otherPageDAL.getList(model);

            otherPageList.rows  = dt.toList <OtherPageInfo>();
            otherPageList.total = otherPageDAL.getCount(model);
            return(otherPageList);
        }
Beispiel #2
0
        public ActionResult SearchOtherPage(OtherPageInfo model)
        {
            model.page = int.Parse(Request["page"]);
            model.rows = int.Parse(Request["rows"]);
            OtherPageBLL  otherPageBLL = new OtherPageBLL();
            OtherPageList list         = otherPageBLL.getList(model);

            return(Json(list, JsonRequestBehavior.AllowGet));
        }