New: Already Imported Decision Specification (#661)

This commit is contained in:
Qstick
2019-03-20 22:14:27 -04:00
committed by GitHub
parent d552770da9
commit 61cf1ccb7c
7 changed files with 287 additions and 8 deletions
+3 -3
View File
@@ -24,7 +24,7 @@ namespace NzbDrone.Core.History
History MostRecentForDownloadId(string downloadId);
History Get(int historyId);
List<History> GetByArtist(int artistId, HistoryEventType? eventType);
List<History> GetByAlbum(int artistId, int albumId, HistoryEventType? eventType);
List<History> GetByAlbum(int albumId, HistoryEventType? eventType);
List<History> Find(string downloadId, HistoryEventType eventType);
List<History> FindByDownloadId(string downloadId);
List<History> Since(DateTime date, HistoryEventType? eventType);
@@ -75,9 +75,9 @@ namespace NzbDrone.Core.History
return _historyRepository.GetByArtist(artistId, eventType);
}
public List<History> GetByAlbum(int artistId, int albumId, HistoryEventType? eventType)
public List<History> GetByAlbum(int albumId, HistoryEventType? eventType)
{
return _historyRepository.GetByAlbum(artistId, albumId, eventType);
return _historyRepository.GetByAlbum(albumId, eventType);
}
public List<History> Find(string downloadId, HistoryEventType eventType)