Delete plex episodes on every run due to a bug, need to spend quite a bit of time on this.

This commit is contained in:
tidusjar 2018-01-28 21:40:03 +00:00
parent 246b0d6dad
commit c7d88f8808
3 changed files with 21 additions and 10 deletions

View file

@ -72,6 +72,11 @@ namespace Ombi.Store.Repository
return source.Include(navigationPropertyPath);
}
public async Task ExecuteSql(string sql)
{
await _ctx.Database.ExecuteSqlCommandAsync(sql);
}
private bool _disposed;
// Protected implementation of Dispose pattern.