Started on #16, nothing is hooked up yet.

This commit is contained in:
tidusjar 2016-03-17 17:17:34 +00:00
parent f4a60da40d
commit 07b42ffd50
14 changed files with 355 additions and 12 deletions

View file

@ -49,7 +49,7 @@ namespace PlexRequests.Services
public AvailabilityUpdateService()
{
ConfigurationReader = new ConfigurationReader();
var repo = new JsonRepository(new DbConfiguration(new SqliteFactory()), new MemoryCacheProvider());
var repo = new SettingsJsonRepository(new DbConfiguration(new SqliteFactory()), new MemoryCacheProvider());
Checker = new PlexAvailabilityChecker(new SettingsServiceV2<PlexSettings>(repo), new SettingsServiceV2<AuthenticationSettings>(repo), new RequestService(new GenericRepository<RequestedModel>(new DbConfiguration(new SqliteFactory()))), new PlexApi());
HostingEnvironment.RegisterObject(this);
}