title: ASP.NET MVC Adding records to related multiple tables from single view
body: <p>I'm very new to MVC so i apologize if i haven't explained my requirement properly/haven't used correct terminology. </p>
  
  <p>I have a simple database with <strong><em>item</em></strong> and <strong><em>detail</em></strong> entities. They have a one-to-many relationship so Item has many Details.</p>
  
  <p>I'd like to add records to both these tables from a single view. </p>
  
  <p>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?</p>
  
  <p>Or is 'partial-view' what i should use here? Can someone please give me an example. Really appreciate it. Thanks.</p>