Album and Song both have Repositories, Controllers and Views (regular CRUDs). On the Album Create View I am rendering the Index.ascx and the Create.ascx from Song. The first one to show the songs registered so far (none at start) and the second to register them. The controllers for the songs work directly with the EntityCollection of the Album object yet to be added, it does not access the database.
When I click the submit button at the Song's Form it activates the Album's Create post-verb action instead of the Song's. Is it possible to work with one form inside of another? If not, how would I add the song to the album? Will I be obliged to add first a songless album to the database and then, on another page, fill it with the songs?
Your response here.
View Complete Post