2010-09-28 20:44:33 +00:00
|
|
|
using System.Collections.Generic;
|
2010-10-21 01:49:23 +00:00
|
|
|
using NzbDrone.Core.Repository;
|
2010-09-28 20:44:33 +00:00
|
|
|
|
|
|
|
namespace NzbDrone.Core.Providers
|
|
|
|
{
|
|
|
|
public interface ISeasonProvider
|
|
|
|
{
|
2010-10-05 06:21:18 +00:00
|
|
|
Season GetSeason(int seasonId);
|
2010-10-10 21:20:43 +00:00
|
|
|
List<Season> GetSeasons(int seriesId);
|
2011-02-10 06:41:24 +00:00
|
|
|
Season GetLatestSeason(int seriesId);
|
2010-10-05 06:21:18 +00:00
|
|
|
void EnsureSeason(int seriesId, int seasonId, int seasonNumber);
|
2010-09-28 20:44:33 +00:00
|
|
|
int SaveSeason(Season season);
|
2011-01-29 06:10:22 +00:00
|
|
|
bool IsIgnored(int seasonId);
|
|
|
|
bool IsIgnored(int seriesId, int seasonNumber);
|
2011-02-18 06:49:23 +00:00
|
|
|
void DeleteSeason(int seasonId);
|
2010-09-28 20:44:33 +00:00
|
|
|
}
|
|
|
|
}
|