I want to use a collection of nested objects in a query string like
public class Range
{
public decimal From {get;set},
public decimal To {get;set}
}
public class SearchParams
{
public IEnumerable<Range> Sizes {get;set;}
}
I know that better to use POST for this but I can't change an existing contract because of backward compatibility
So the question - Is there any option to pass it in a query string? or pass it as a string and to parse it in server