# Saving one to many in a form

**URL:** <https://forum.codewithmosh.com/t/saving-one-to-many-in-a-form/3731>\
**Category:** ASP.NET MVC\
**Created:** [March 31, 2021, 10:53am UTC](https://forum.codewithmosh.com/t/saving-one-to-many-in-a-form/3731 "2021-03-31T10:53:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaco](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jaco](https://forum.codewithmosh.com/u/Jaco)\
**Post date:** [March 31, 2021, 10:53am UTC](https://forum.codewithmosh.com/t/saving-one-to-many-in-a-form/3731/1 "2021-03-31T10:53:55Z")

</div>

After finishing Vidly i tried starting my own little project.  
A simple invoice program. With customers, products and orders.  
I can’t figure out how to save multiple records in one form to the database? I’ve Created the form and added some extra fields but its only saving one record?

---

<div class="post-metadata">

**Author:** ![dimanjenje](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/dimanjenje/32/331_2.png) [@dimanjenje](https://forum.codewithmosh.com/u/dimanjenje)\
**Post date:** [August 18, 2021, 10:55pm UTC](https://forum.codewithmosh.com/t/saving-one-to-many-in-a-form/3731/2 "2021-08-18T22:55:06Z")

</div>

Use the concepts on module 10 “Building a Feature End-to-End Systematically”, where mosh teaches how to develop a new feature, a rental for a client with a list of movies…
