Upcoming view working under backbone

This commit is contained in:
Mark McDowall
2013-02-19 23:45:52 -08:00
parent bc490c6bf7
commit cf1a067b3b
20 changed files with 304 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ namespace NzbDrone.Core.Providers
_database = database;
}
//Todo: Might be best if this is part of episode repo (when its there)
public virtual List<Episode> UpcomingEpisodes()
{
return _database.Fetch<Episode, Series>(@"SELECT * FROM Episodes