Building an API in .NET CORE 3.1, I need to validate and deserialize json body to a custom class. What I did for one of my controllers, which is working: