dotnet aspnet-codegenerator controller -name CONTROLLER-NAME -async -api -m MODEL-NAME -dc CONTEXT-NAME -outDir DIRETĂ“RIO-CONTROLLERS
dotnet ef migrations add initical --context CONTEXT-NAME dotnet ef database update
A simple API project to learn the core concepts of the NetCore 3.0 and Entity Framework.
C#
dotnet aspnet-codegenerator controller -name CONTROLLER-NAME -async -api -m MODEL-NAME -dc CONTEXT-NAME -outDir DIRETĂ“RIO-CONTROLLERS
dotnet ef migrations add initical --context CONTEXT-NAME dotnet ef database update