Revert "Add mapping methods to IRepository and DbRepository"
This reverts commit 6916e169b1.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user