I know how EditorTemplates work in ASP.NET MVC3. I read a lot and make some research but could not find anything that could help me.
I have a simple model:
public class MyModel
{
public string Name { get; set; }
public virtual ICollection<SubModel> SubModels { get; set; }
}
What I would like to do is to be able to add/remove SubModel when I edit MyModel...