Changed the way the Database is registered with TinyIoC to make Logdb and future cachedb more accessible.

This commit is contained in:
Taloth Saldono
2015-05-03 21:46:21 +02:00
parent 4ca8178ca8
commit 2a83088045
47 changed files with 181 additions and 72 deletions
@@ -15,7 +15,7 @@ namespace NzbDrone.Core.MediaFiles
public class MediaFileRepository : BasicRepository<EpisodeFile>, IMediaFileRepository
{
public MediaFileRepository(IDatabase database, IEventAggregator eventAggregator)
public MediaFileRepository(IMainDatabase database, IEventAggregator eventAggregator)
: base(database, eventAggregator)
{
}