C# Class Solita.Episerver.WebApi.Attributes.ValidateWebApiModelAttribute
Checks if any of the parameters is null or has bad modelstate. Returns HttpStatusCode.BadRequest in both cases. It is strongly advised to use dto objects, and hide your possible null objects to the model object.