added support for 0 based sequential ids to our object db.

This commit is contained in:
kay.one
2013-02-15 19:50:22 -08:00
parent a0c7ccfe7c
commit c6fa3cc02b
17 changed files with 375 additions and 29 deletions

View File

@@ -13,7 +13,7 @@ namespace NzbDrone.Core.RootFolders
{
List<RootFolder> All();
RootFolder Add(RootFolder rootDir);
void Remove(long rootDirId);
void Remove(int rootDirId);
List<String> GetUnmappedFolders(string path);
Dictionary<string, ulong> FreeSpaceOnDrives();
}
@@ -63,7 +63,7 @@ namespace NzbDrone.Core.RootFolders
return rootFolder;
}
public virtual void Remove(long rootDirId)
public virtual void Remove(int rootDirId)
{
_rootFolderRepository.Delete(rootDirId);
}