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