Automatic Model Validation and Parameter Binding using ApiController Attribute

While developing ASP.NET Core Web API you need to perform model validation manually. You also need to bind action parameters explicitly using attributes such as [FromBody]. The [ApiController] attribute introduced in ASP.NET Core 2.1 can automate both of these tasks for you. This article explains how.

http://www.binaryintellect.net/articles/03f580c4-84ad-4d78-847f-43103b4e4691.aspx