Validation Notes - ASP.NET MVC
To manually trigger validation of the model in MVC. (These are methods on the
Controller
base class.)
TryValidateModel(model)
or
ValidateModel(model)