diff --git a/YTManager/Tasks/FetchVideos.cs b/YTManager/Tasks/FetchVideos.cs index 2da00de..de4d662 100644 --- a/YTManager/Tasks/FetchVideos.cs +++ b/YTManager/Tasks/FetchVideos.cs @@ -18,9 +18,11 @@ namespace YTManager.Tasks ApplicationName = "testingapppp" }); - // Get all the channels to update. + // Get the interface to the database. var ops = new DbContextOptionsBuilder(); ops.UseInMemoryDatabase(databaseName: "testdb"); + + // Get all the channels to update. using (var dbcontext = new MediaDB(ops.Options)) { // Get all the potential relevant channels. List channels;