The file WorkifyEntities.Context.cs
is what EF generates for us, or in EF Core, you can create yourself on top of the base class.
The Entities.cs
file, we create our own partial class, and assign an interface. From here, we will register our own interface while the instance will be the DbContext.
Just inject the interface and use it. You will have to add properties and methods to the interface to match the DbContext.