How to Dynamically Set Optional Properties in Multiple Request Models in ASP.NET Core Web Api
At my workplace, I’ve been tasked with refactoring some code in an ASP.NET Core Web API application. In the application, I have multiple request models where some models include properties like UserId, ChartId, or both. For instance, the AcceptEvent model…