What Is The Meaning Of ModelState IsValid?
What Is The Meaning Of ModelState IsValid? ModelState. IsValid indicates if it was possible to bind the incoming values from the request to the model correctly and whether any explicitly specified validation rules were broken during the model binding process. In your example, the model that is being bound is of class type Encaissement .