Skip to content

Instantly share code, notes, and snippets.

@ntakouris
Created September 3, 2019 12:33
Show Gist options
  • Select an option

  • Save ntakouris/4068dc5ff868ccdfb5e92bc100ac99eb to your computer and use it in GitHub Desktop.

Select an option

Save ntakouris/4068dc5ff868ccdfb5e92bc100ac99eb to your computer and use it in GitHub Desktop.
public class PagedResponse<T>
{
public PagedResponse(){}
public PagedResponse(IEnumerable<T> data)
{
Data = data;
}
public IEnumerable<T> Data { get; set; }
public int? PageNumber { get; set; }
public int? PageSize { get; set; }
public string NextPage { get; set; }
public string PreviousPage { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment