1
I have my view, it depends on a viewmodel.
But in this same view, I add items referring to the main one with a bootstrap modal, and in it I need another viewmodel for validations.
How I pass 2 viewsmodels in a single view?
1
I have my view, it depends on a viewmodel.
But in this same view, I add items referring to the main one with a bootstrap modal, and in it I need another viewmodel for validations.
How I pass 2 viewsmodels in a single view?
1
One inside the other.
public class ViewModelPrincipal
{
public ViewModelDeValidacoes ViewModelDeValidacoes { get; set; }
}
Browser other questions tagged asp.net-mvc-5
You are not signed in. Login or sign up in order to post.