예제 #1
0
        public ActionResult QueryFunction(PageDataVO pageDataVO)
        {
            FunctionTableResultVO result = new FunctionTableResultVO();

            result.FunctionData = _functionService.GetFunctionData(pageDataVO);
            result.TableMaxPage = pageDataVO.AllPageNumber;
            return(Json(result, JsonRequestBehavior.AllowGet));
        }
        public IEnumerable <FunctionVO> FunctionAddEditDelete()
        {
            PageDataVO pageDataVO = new PageDataVO()
            {
                PageNumber = 1,
                PageSize   = 0
            };
            var functionData = _functionService.GetFunctionData(pageDataVO);

            return(functionData);
        }