Example #1
0
 public RadarrSync(ISettingsService <RadarrSettings> radarr, IRadarrApi radarrApi, ILogger <RadarrSync> log, IOmbiContext ctx)
 {
     RadarrSettings = radarr;
     RadarrApi      = radarrApi;
     Logger         = log;
     _ctx           = ctx;
     RadarrSettings.ClearCache();
 }
Example #2
0
 public SickRageSync(ISettingsService <SickRageSettings> s, ISickRageApi api, ILogger <SickRageSync> l, IOmbiContext ctx)
 {
     _settings = s;
     _api      = api;
     _log      = l;
     _ctx      = ctx;
     _settings.ClearCache();
 }
Example #3
0
 public CouchPotatoSync(ISettingsService <CouchPotatoSettings> cpSettings,
                        ICouchPotatoApi api, ILogger <CouchPotatoSync> log, IOmbiContext ctx)
 {
     _settings = cpSettings;
     _api      = api;
     _log      = log;
     _ctx      = ctx;
     _settings.ClearCache();
 }
Example #4
0
 public TvRequestRepository(IOmbiContext ctx)
 {
     Db = ctx;
 }
Example #5
0
 public SettingsJsonRepository(IOmbiContext ctx, ICacheService mem)
 {
     Db     = ctx;
     _cache = mem;
 }
Example #6
0
 public SonarrCacheRequestRule(IOmbiContext ctx)
 {
     _ctx = ctx;
 }
 public MusicRequestRepository(IOmbiContext ctx) : base(ctx)
 {
     Db = ctx;
 }
Example #8
0
 public NotificationTemplatesRepository(IOmbiContext ctx)
 {
     Db = ctx;
 }
Example #9
0
 public TokenRepository(IOmbiContext db)
 {
     Db = db;
 }
Example #10
0
 public SonarrCacheSearchRule(IOmbiContext ctx)
 {
     _ctx = ctx;
 }
Example #11
0
 public AuditRepository(IOmbiContext ctx)
 {
     Ctx = ctx;
 }
Example #12
0
 public PlexServerContentRepository(IOmbiContext db) : base(db)
 {
     Db = db;
 }
Example #13
0
 public Repository(IOmbiContext ctx)
 {
     _ctx = ctx;
     _db  = _ctx.Set <T>();
 }
Example #14
0
 public Repository(IOmbiContext ctx) : base(ctx)
 {
 }
Example #15
0
 public EmbyContentRepository(IOmbiContext db)
 {
     Db = db;
 }
Example #16
0
 public ApplicationConfigRepository(IOmbiContext ctx)
 {
     Ctx = ctx;
 }