Friends who can help me what happens is that I want to fill two forms of different views in one single view of Asp.Net Thanks!
Friends who can help me what happens is that I want to fill two forms of different views in one single view of Asp.Net Thanks!
You must use ViewModels since asp.net views based on model only support one at a time, in your case you should create a viewmodel that contains the fields of both models involved and then create your form based on the viewmodel . I recommend you take a look at this answer where I exolcise it more detailed, I hope you find it useful [ ASP MVC Multiple Form