https://parallelcodes.com/net-core-api-how-to-add-data-into-sql-database/
.NET Core API - How to add data into SQL Database