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