https://www.talkingdotnet.com/validate-model-state-automatically-asp-net-core-2-0/
Validate Model State automatically in ASP.NET Core 2.0