mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed up Eloquera integration, working much better now.
This commit is contained in:
parent
8c99cca207
commit
ace7910f2a
11 changed files with 70 additions and 30 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue