Exemplo n.º 1
0
        public JsonResult Get(LoanSearchParam param, int pageIndex = 1, int pageSize = 20)
        {
            var list = _service.PageListDto(param, pageIndex, pageSize);

            return(Json(ResultUtil.PageList(list)));

            // var list = service.ListDto(param);
            // return MyJson(ResultUtil.Success<List<LoanDto>>(list), JsonRequestBehavior.AllowGet);
        }
Exemplo n.º 2
0
        public JsonResult GetOvervue(int pageIndex = 1, int pageSize = 20)
        {
            var param = new LoanSearchParam {
                State = 3
            };

            var list = _service.PageListDto(param);

            return(Json(ResultUtil.PageList(list)));
        }