A simple example to implement generic service, controller and repository in ASP.NET CORE 3.1
1 - Yo have to spicify your server in ./script/db_Script
2 - Run the script
3 - In ./TodoGeneric.Api/appsettings
add your connection string "ConnectionStrings": { "TodoGenericDb": "Data Source=DESKTOP-6REK6D0;Initial Catalog=TodoGenericDb;Integrated Security=True;ApplicationIntent=ReadWrite;" }
replace "TodoGenericDb" connection string to your current connection.