Reverted back to Single<T> instead of SingleOrDefault<T> except when searching for an episode in DB.

This commit is contained in:
Mark McDowall 2011-06-18 16:03:58 -07:00
commit 5c055ebb9a
4 changed files with 4 additions and 4 deletions

View file

@ -53,7 +53,7 @@ namespace NzbDrone.Core.Providers
public virtual QualityProfile Get(int profileId)
{
return _database.SingleOrDefault<QualityProfile>(profileId);
return _database.Single<QualityProfile>(profileId);
}
public virtual void SetupDefaultProfiles()