Skip to content

Instantly share code, notes, and snippets.

@markholdt
Created January 8, 2016 05:04
Show Gist options
  • Save markholdt/c39b699e9224a94f4bda to your computer and use it in GitHub Desktop.
Save markholdt/c39b699e9224a94f4bda to your computer and use it in GitHub Desktop.
[Route("/listings", "GET")]
public class GetListings : IReturn<GetListingsResponse>
{
public int? CategoryId { get; set; }
public int? PriceFrom { get; set; }
public int? PriceTo { get; set; }
}
public class GetListingsResponse
{
public List<Listing> Result { get; set; }
public int TotalRecords { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment