ModelState.AddModelError – How can I add an error that isn’t for a property?
I am checking my database in Create(FooViewModel fvm){…} to see if the fvm.prop1 and fvm.prop2 already exist in that combination; if so, I … Read more
I am checking my database in Create(FooViewModel fvm){…} to see if the fvm.prop1 and fvm.prop2 already exist in that combination; if so, I … Read more
I want to get all the error messages out of the modelState without knowing the key values. Looping through to grab all the … Read more