moved series/season/episodes to object db.

This commit is contained in:
Keivan Beigi 2013-02-19 18:05:15 -08:00
commit b5644bf660
93 changed files with 1025 additions and 1338 deletions

View file

@ -32,6 +32,15 @@ namespace NzbDrone.Common.EnsureThat
return param;
}
[DebuggerStepThrough]
public static Param<int> IsGreaterThanZero(this Param<int> param)
{
if (param.Value <= 0)
throw ExceptionFactory.CreateForParamValidation(param.Name, ExceptionMessages.EnsureExtensions_IsNotGt.Inject(param.Value, 0));
return param;
}
[DebuggerStepThrough]
public static Param<int> IsGreaterOrEqualTo(this Param<int> param, int limit)
{