Api/Berizco.Repository/Repositories/Base/Contracts/IRepositoryWrapper.cs

8 lines
317 B
C#

namespace Brizco.Repository.Repositories.Base.Contracts
{
public interface IRepositoryWrapper : IDisposable , IScopedDependency
{
IBaseRepository<T> SetRepository<T>() where T : ApiEntity;
System.Threading.Tasks.Task SaveChangesAsync(CancellationToken cancellationToken = default);
}
}