Fixed: PendingRelese deletes wrong value on author delete

This commit is contained in:
Qstick 2021-01-28 23:16:12 -05:00
parent c8263fd856
commit 7cc9a67b74

View file

@ -20,7 +20,7 @@ public PendingReleaseRepository(IMainDatabase database, IEventAggregator eventAg
public void DeleteByAuthorId(int authorId)
{
Delete(authorId);
Delete(x => x.AuthorId == authorId);
}
public List<PendingRelease> AllByAuthorId(int authorId)