public JsonResult Accounts(AccountSearchParam param) { var service = new AccountService(); var accounts = service.GetAccountsBaseInfo(param.Dept, param.Key); return(Json(ResultUtil.Success(accounts))); }
public ActionResult Get(AccountSearchParam param, int pageIndex, int pageSize) { var accounts = _service.PageList(param, pageIndex, pageSize); return(Json(ResultUtil.PageList(accounts))); }