removed dead code.

This commit is contained in:
kay.one 2013-09-16 22:16:16 -07:00
parent 3d71c129eb
commit 0794affae0
13 changed files with 5 additions and 126 deletions

View file

@ -9,10 +9,8 @@ namespace NzbDrone.Core.MediaFiles
{
public interface IMediaFileRepository : IBasicRepository<EpisodeFile>
{
EpisodeFile GetFileByPath(string path);
List<EpisodeFile> GetFilesBySeries(int seriesId);
List<EpisodeFile> GetFilesBySeason(int seriesId, int seasonNumber);
bool Exists(string path);
}
@ -23,11 +21,6 @@ namespace NzbDrone.Core.MediaFiles
{
}
public EpisodeFile GetFileByPath(string path)
{
return Query.SingleOrDefault(c => c.Path == path);
}
public List<EpisodeFile> GetFilesBySeries(int seriesId)
{
return Query.Where(c => c.SeriesId == seriesId).ToList();
@ -40,9 +33,5 @@ namespace NzbDrone.Core.MediaFiles
.ToList();
}
public bool Exists(string path)
{
return Query.Any(c => c.Path == path);
}
}
}