Skip to content

Instantly share code, notes, and snippets.

@ainsofs
Created April 22, 2015 02:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ainsofs/f58256a5fd6b9cf4e6ad to your computer and use it in GitHub Desktop.
Save ainsofs/f58256a5fd6b9cf4e6ad to your computer and use it in GitHub Desktop.
Utility Classes that can be reused in multiple projects
public class PagedResult<T> {
public List<T> Items { get; set; }
public long CurrentPage { get; set; }
public long ItemsPerPage { get; set; }
public long TotalItems { get; set; }
public long TotalPages { get; set; }
public string Text { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment