What is the best way to pass an object that contains multiple objects within it, each with unique key-value pairs? Here is an example of the data structure:
[ Object, Object, Object, Object ]
0
:
Object
ProductID
:
"50"
__proto__
:
Object
1
:
Object
BrandID
:
24
__proto__
:
Object
2
:
Object
BrandID
:
26
__proto__
:
Object
3
:
Object
BrandID
:
20
__proto__
:
Object
One of these objects has a different key-value pair than the others. How can I extract this specific data from a Web API controller and how should I adjust my Model in the Web API project to accommodate it?