Done the migration for the external db !wip

This commit is contained in:
TidusJar 2018-10-04 15:05:43 +01:00
parent 26da9d242c
commit ca48361865
15 changed files with 112 additions and 53 deletions

View file

@ -35,15 +35,15 @@ using Ombi.Store.Entities;
namespace Ombi.Store.Repository
{
public class EmbyContentRepository : Repository<EmbyContent>, IEmbyContentRepository
public class EmbyContentRepository : ExternalRepository<EmbyContent>, IEmbyContentRepository
{
public EmbyContentRepository(IOmbiContext db):base(db)
public EmbyContentRepository(IExternalContext db):base(db)
{
Db = db;
}
private IOmbiContext Db { get; }
private IExternalContext Db { get; }
public async Task<EmbyContent> GetByImdbId(string imdbid)