Fixed up Eloquera integration, working much better now.

This commit is contained in:
Mark McDowall 2013-02-08 00:05:43 -08:00 committed by kay.one
commit ace7910f2a
11 changed files with 70 additions and 30 deletions

View file

@ -11,14 +11,19 @@ namespace NzbDrone.Core.RootFolders
}
//This way we only need to implement none_custom methods for repos, like custom queries etc... rest is done automagically.
public class RootFolderRepository : BasicRepository<RootFolder>, IRootFolderRepository
{
public RootFolderRepository(EloqueraDb eloqueraDb)
: base(eloqueraDb)
{
}
public RootFolder Add(RootFolder rootFolder)
{
rootFolder.Id = EloqueraDb.InsertAndGetId(rootFolder);
return rootFolder;
}
}
}