Json – How to make ASP.NET Core bind partially to valid data?
Let's say I have this model: public enum State { Valid = 1, Invalid = 2 } public class Person { public string Name { get; set; } public State state { get; set; } } And this controller action:…