/// <summary> /// 列表页面 /// </summary> /// <param name="searchString"></param> /// <param name="page"></param> /// <returns></returns> public IActionResult List(string searchString, int?page) { ViewBag.searchString = string.IsNullOrWhiteSpace(searchString) ? "" : searchString; int pageNumber = (page ?? 1); int pageSize = 15; UserBLL userBLL = new UserBLL(); IPagedList <UserEntity> userEntities = userBLL.AdminPageList(pageNumber, pageSize, searchString); return(View(userEntities)); }