replace IEntityMapper<TEntity> with IMapper

This commit is contained in:
2025-09-10 17:33:26 +02:00
parent 0809d1215b
commit 453a0ccdf0
3 changed files with 9 additions and 7 deletions

View File

@@ -1,10 +1,11 @@
using System.Linq.Expressions;
using AutoMapper;
using System.Linq.Expressions;
namespace DigitalData.Core.Abstraction.Application.Repository;
public interface IRepository<TEntity>
{
public IEntityMapper<TEntity> Mapper { get; }
public IMapper Mapper { get; }
public Task<TEntity> CreateAsync(TEntity entity, CancellationToken cancel = default);