Compare commits
8 Commits
1edcafdebd
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| b434383f7e | |||
| 3f1371e33a | |||
| 9c1da388d8 | |||
| 52c9c9ab9e | |||
| d7b7c2eb88 | |||
| 1bab9c963d | |||
| 6b68f099fa | |||
| b09777252b |
@@ -89,7 +89,7 @@ public abstract class BaseEfRepository<TDbContext, TEntity, TEntityId> :
|
||||
|
||||
public async Task DeleteAsync(TEntityId id)
|
||||
{
|
||||
TEntity? entity = GetById(id);
|
||||
TEntity? entity = await GetByIdAsync(id);
|
||||
if (entity != null)
|
||||
{
|
||||
DoRemove(entity);
|
||||
|
||||
Reference in New Issue
Block a user