Sonarr/NzbDrone.Core/Providers/ISeasonProvider.cs

17 lines
533 B
C#
Raw Normal View History

using System.Collections.Generic;
using NzbDrone.Core.Repository;
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);
int SaveSeason(Season season);
bool IsIgnored(int seasonId);
bool IsIgnored(int seriesId, int seasonNumber);
void DeleteSeason(int seasonId);
}
}