Exemplo n.º 1
0
        public JsonResult GetList(int page, int rows)
        {
            var list = new GridList <DeptDto>();

            try
            {
                string deptName = RequestHelper.RequestPost("deptName", string.Empty);
                list = deptService.GetDeptPagingList(deptName, page, rows);
            }
            catch (Exception)
            {
            }

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