I want to send an array of objects to the query string of a query. I know this is not an optimal solution, but I just want it to be up and running.
If I have a class, something like this
public class Data { public int a { get; set; } public int b { get; set; } } public class RequestViewData { public IList<Data> MyData { get; set; } }
I thought I could bind the MVC route to a web request like this
http:
But all this creates an array of two data objects without filling in the values 1,2, 3 or 4.
Is there a way to link arrays of complex objects?
source share