validation

A collection of 1 post

Handling .Net's model state with ValidationFilter attribute

In this article we explore creation of a C# method attribute to process your model objects and throw and return a 422 HTTP status code if the model validation fails. DRY.