GitExtensions, go fuck yourself

This commit is contained in:
Mark McDowall
2013-02-22 20:37:23 -08:00
parent 27a939a56a
commit 7fa523dd97
25 changed files with 300 additions and 435 deletions
@@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NzbDrone.Core.Datastore;
namespace NzbDrone.Core.Indexers
{
public interface INewznabRepository : IBasicRepository<NewznabDefinition>
{
IEnumerable<NewznabDefinition> Enabled();
}
public class NewznabRepository : BasicRepository<NewznabDefinition>, INewznabRepository
{
public NewznabRepository(IObjectDatabase objectDatabase) : base(objectDatabase)
{
}
public IEnumerable<NewznabDefinition> Enabled()
{
return Queryable.Where(n => n.Enabled);
}
}
}