mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Fixed #1583 you can now delete users.
Fixed the issue where the requested by was not showing. Finally fixed the broken poster paths
This commit is contained in:
parent
c3b2ef2f31
commit
1dc8eac035
27 changed files with 157 additions and 155 deletions
|
@ -48,6 +48,18 @@ namespace Ombi.Store.Repository
|
|||
return content;
|
||||
}
|
||||
|
||||
public async Task Delete(T request)
|
||||
{
|
||||
_db.Remove(request);
|
||||
await _ctx.SaveChangesAsync();
|
||||
}
|
||||
|
||||
public async Task DeleteRange(IEnumerable<T> req)
|
||||
{
|
||||
_db.RemoveRange(req);
|
||||
await _ctx.SaveChangesAsync();
|
||||
}
|
||||
|
||||
public IIncludableQueryable<TEntity, TProperty> Include<TEntity, TProperty>(
|
||||
IQueryable<TEntity> source, Expression<Func<TEntity, TProperty>> navigationPropertyPath)
|
||||
where TEntity : class
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue