Skip to content

Instantly share code, notes, and snippets.

@codebeaulieu
Created May 20, 2015 22:33
Show Gist options
  • Save codebeaulieu/d812013030de19c6cdbe to your computer and use it in GitHub Desktop.
Save codebeaulieu/d812013030de19c6cdbe to your computer and use it in GitHub Desktop.
Tag.cs | Stack Overflow | How to resolve ModelState.IsValid = false while binding a List type?
public class Tag : IEntity
{
[Key]
public int Id { get; set; }
public string Name { get; set; }
public List<Post> Posts { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment