I'm very new to MVC so i apologize if i haven't explained my requirement properly/haven't used correct terminology.
I have a simple database with item and detail entities. They have a one-to-many relationship so Item has many Details.
I'd like to add records to both these tables from a single view.
So far my understanding is that if i add a create action for 'item' it will get an 'item' object in the HTTPPost request. So does that mean i have to create a separate action/view for details?
Or is 'partial-view' what i should use here? Can someone please give me an example. Really appreciate it. Thanks.