Now we're going to add our class libraries that will support our API.
Inside your main EFConnect folder (not inside your API project):
dotnet new classlib -o EFConnect.Models--framework netcoreapp2
dotnet new classlib -o EFConnect.Services--framework netcoreapp2
dotnet new classlib -o EFConnect.Data--framework netcoreapp2
dotnet new classlib -o EFConnect.Contracts--framework netcoreapp2
We added the --framework option to tell it to make these class libraries target the .NET Core ^2.0+ framework. Its default is .NET Standard 2.0 - which won't work with some packages we need.
Delete the default Class1.cs files generated in the class libraries.
Add Project References
Navigate into your EFConnect.API project in your command line