1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Renamed HistoryRepo GetBestInHistory

This commit is contained in:
Mark McDowall 2013-05-14 07:36:23 -07:00
parent e851924417
commit 07613092b4

View File

@ -12,7 +12,7 @@ namespace NzbDrone.Core.History
public interface IHistoryRepository : IBasicRepository<History>
{
void Trim();
List<QualityModel> GetBestQualityInHistory(int episodeId);
List<QualityModel> GetEpisodeHistory(int episodeId);
PagingSpec<History> Paged(PagingSpec<History> pagingSpec);
}
@ -29,7 +29,7 @@ public void Trim()
Delete(c=> c.Date < cutoff);
}
public List<QualityModel> GetBestQualityInHistory(int episodeId)
public List<QualityModel> GetEpisodeHistory(int episodeId)
{
var history = Query.Where(c => c.EpisodeId == episodeId);