mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Get by multiple ids added to BasicRepo
This commit is contained in:
@@ -13,7 +13,6 @@ namespace NzbDrone.Core.Tv
|
||||
Series FindByTvdbId(int tvdbId);
|
||||
void SetSeriesType(int seriesId, SeriesTypes seriesTypes);
|
||||
void SetTvRageId(int seriesId, int tvRageId);
|
||||
List<Series> SeriesIsInList(IEnumerable<int> ids);
|
||||
}
|
||||
|
||||
public class SeriesRepository : BasicRepository<Series>, ISeriesRepository
|
||||
@@ -52,10 +51,5 @@ namespace NzbDrone.Core.Tv
|
||||
{
|
||||
SetFields(new Series { Id = seriesId, TvRageId = tvRageId }, s => s.TvRageId);
|
||||
}
|
||||
|
||||
public List<Series> SeriesIsInList(IEnumerable<int> ids)
|
||||
{
|
||||
return Query.Where(String.Format("Id IN ({0})", String.Join(",", ids)));
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user