add series works again, now includes title.

This commit is contained in:
Keivan Beigi 2013-02-25 19:58:57 -08:00
commit 94daf08361
80 changed files with 303 additions and 284 deletions

View file

@ -37,7 +37,7 @@ namespace NzbDrone.Core.Datastore
public T Insert<T>(T obj) where T : ModelBase
{
if (obj.OID != 0)
if (obj.Id != 0)
{
throw new InvalidOperationException("Attempted to insert object with existing ID as new object");
}
@ -48,7 +48,7 @@ namespace NzbDrone.Core.Datastore
public T Update<T>(T obj) where T : ModelBase
{
if (obj.OID == 0)
if (obj.Id == 0)
{
throw new InvalidOperationException("Attempted to update object without an ID");
}