Now I study the "Getting started with Razor Pages in ASP.NET Core".
I have add PaginatedList.cs in the project like in " EF Core with ASP.NET Core MVC tutorial".
@model PaginatedList<ContosoUniversity.Models.Student>
@{
ViewData["Title"] = "Index";
}
<h2>Index</h2>
this is do work;
Now in in ASP.NET Core Razor Pages, I don know how to use this PaginatedList<> function;
@page
@model RazorPagesMovie.Pages.Movies.IndexModel
??? PaginatedList<>
????@model PaginatedList<RazorPagesMovie.Models.Movies>
@{
ViewData["Title"] = "Index";
}
<h2>Index</h2>