Click here to Skip to main content
14,934,895 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello, i have two entities with one to many relationship between them.
Shoe with many legs
leg with single shoe
Then in the create view of the shoe, i created an editorTemplate for the leg but my problem is how do i save leg data into its database from the shoe create method in shoe controller(httpPost).

I still have the default create method but can't edit it to suit my entity. Please, help me on this.
Posted
Comments
PIEBALDconsult 17-Oct-15 11:38am
   
You don't.
Member 10285969 17-Oct-15 15:40pm
   
I dnt understand your answer. How should i go about it in my controller so as to save it. For both entities

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900