Posted 05 Sep 2012
Link to this post
Is there a demo or example of how to support one to many crud operations using data source JSON, to ASP.NET Web API? I have a simple registraiton form that has contact information which is a simple class. However, it has two dependant tables of guests for the registrtation and merchandise purchased by the person registering for an event.
Array of Guests containing Last Name, First Name, registration type
Array of Items purchased containing item description, quantity, price, extended price
Is there a simple way to represent this as a schema and use Web API to perform crud operations on the arrays? The general videos from Burke are helpful for base object but not sure how to approach the depenent tables/arrays. There may be zero to many entries for both arrays.
Any suggestion on a tutorial, video, or demo would be great.