public BalanceCalculator(IDatabaseInteraction databaseInteraction) { _databaseInteraction = databaseInteraction; }
public UpdateVideos(IDatabaseInteraction databaseInteractions = null, YoutubeOperations youtubeOperations = null) { _youtubeOperations = youtubeOperations ?? new YoutubeOperations(); _databaseInteraction = databaseInteractions ?? new MongoDbInteraction(new MongoDbConnection { CollectionName = "videos", DatabaseName = "StrawHatEntertainment" }, new MongoClient("mongodb://localhost")); }