How do I disable Model validation for a single Action in a Controller ? Or can I do it per model by registering the model type at startup somewhere ?
I want the Mode
Just remove the items you don´t need before checking if the model is valid
ModelState.Remove("Email"); if (ModelState.IsValid) { // your logic }