Yuyuqt
add: authorized pages, firebase
d8a7fc4
Raw
History Blame Contribute Delete
450 Bytes
namespace BlazorWebAssembly.Models
{
public class PagedResult<T>
{
public IEnumerable<T> Items { get; set; } = Enumerable.Empty<T>();
public int TotalCount { get; set; }
public int PageSize { get; set; }
public int CurrentPage { get; set; }
public int TotalPages { get; set; }
public bool HasPreviousPage => CurrentPage > 1;
public bool HasNextPage => CurrentPage < TotalPages;
}
}