I am having trouble submitting a model in my MVC application
The models I currently have are these:
public class Category {
public int Id { get;set;}
public Category Parent { get;set;}
public List<CategoryCulture> Cultures { get;set}
}
public class CategoryCulture {
public int Id { get;set;}
public string Name { get;set;}
public string Culture {get;set;}
}
When I want to create a new category
I want to be able to fill in a X amount of text fields and insert them simultaneously with the Category
. But I have no idea how I should bind the CategoryCulture
to the Category model.