When executing the Add-Migration Setup command to create the table in SQL Server in the PM the message below occurs even though I do the api project reference with the shared. The system even gets to process something, but soon gives this error.
No DbContext was found in assembly 'YouLearn.Api'. Ensure that you are using the correct assembly and that the type is neither abstract nor generic.
Follow the solution link