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 I need another viewmodel for the validations.
How do I pass 2 viewsmodels into a single view?
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 I need another viewmodel for the validations.
How do I pass 2 viewsmodels into a single view?
One inside the other.
public class ViewModelPrincipal
{
public ViewModelDeValidacoes ViewModelDeValidacoes { get; set; }
}