Exemplo n.º 1
0
 public PagedModel(IPagedInput input = null)
 {
     Data = new PagedResult <T>();
     if (input != null)
     {
         Page = input.Page;
     }
 }
Exemplo n.º 2
0
 public static Pagination ToPagination(this IPagedInput input, int pageSize)
 {
     return(new Pagination(input.Page, pageSize));
 }
Exemplo n.º 3
0
 public PostsListModel(IPagedInput input = null) : base(input)
 {
 }