public static bool IsLastPage(this IPagedList pagesList) => pagesList.PageNumber >= pagesList.PageCount();
public static bool HasNextPage(this IPagedList pagesList) => pagesList.PageNumber < pagesList.PageCount();