Revert "Add mapping methods to IRepository and DbRepository"

This reverts commit 6916e169b1.
This commit is contained in:
Developer 02
2025-04-17 13:15:22 +02:00
parent 6916e169b1
commit fffbdf752f
2 changed files with 0 additions and 8 deletions

View File

@@ -63,8 +63,4 @@ public class DbRepository<TDbContext, TEntity> : IRepository<TEntity> where TDbC
await Context.SaveChangesAsync(ct);
}
public TEntity Map<TSource>(TSource source) => Mapper.Map<TEntity>(source);
public TDto Map<TDto>(TEntity entity) => Mapper.Map<TDto>(entity);
}