pull/2612/head
Jamie 6 years ago
parent a404ba3f4b
commit 720adca896

@ -11,12 +11,12 @@ namespace Ombi.Core.Rule.Rules.Search
{
public class CouchPotatoCacheRule : BaseSearchRule, IRules<SearchViewModel>
{
public CouchPotatoCacheRule(IRepository<CouchPotatoCache> ctx)
public CouchPotatoCacheRule(IExternalRepository<CouchPotatoCache> ctx)
{
_ctx = ctx;
}
private readonly IRepository<CouchPotatoCache> _ctx;
private readonly IExternalRepository<CouchPotatoCache> _ctx;
public async Task<RuleResult> Execute(SearchViewModel obj)
{

@ -10,12 +10,12 @@ namespace Ombi.Core.Rule.Rules.Search
{
public class LidarrAlbumCacheRule : SpecificRule, ISpecificRule<object>
{
public LidarrAlbumCacheRule(IRepository<LidarrAlbumCache> db)
public LidarrAlbumCacheRule(IExternalRepository<LidarrAlbumCache> db)
{
_db = db;
}
private readonly IRepository<LidarrAlbumCache> _db;
private readonly IExternalRepository<LidarrAlbumCache> _db;
public Task<RuleResult> Execute(object objec)
{

@ -10,12 +10,12 @@ namespace Ombi.Core.Rule.Rules.Search
{
public class LidarrArtistCacheRule : SpecificRule, ISpecificRule<object>
{
public LidarrArtistCacheRule(IRepository<LidarrArtistCache> db)
public LidarrArtistCacheRule(IExternalRepository<LidarrArtistCache> db)
{
_db = db;
}
private readonly IRepository<LidarrArtistCache> _db;
private readonly IExternalRepository<LidarrArtistCache> _db;
public Task<RuleResult> Execute(object objec)
{

@ -9,12 +9,12 @@ namespace Ombi.Core.Rule.Rules.Search
{
public class RadarrCacheRule : BaseSearchRule, IRules<SearchViewModel>
{
public RadarrCacheRule(IRepository<RadarrCache> db)
public RadarrCacheRule(IExternalRepository<RadarrCache> db)
{
_db = db;
}
private readonly IRepository<RadarrCache> _db;
private readonly IExternalRepository<RadarrCache> _db;
public Task<RuleResult> Execute(SearchViewModel obj)
{

Loading…
Cancel
Save