// GET: Users public async Task <IActionResult> Index(int pageNumber = 1) { return(View(await PaginatedList <User> .PaginationAsync(_context.User, pageNumber, 10))); }