replace IEntityMapper<TEntity> with IMapper
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user