using Pole.Core.DependencyInjection; using Pole.Domain.UnitOfWork; using System; using System.Collections.Generic; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Pole.Domain { public interface IRepository : IRepository where T : IAggregateRoot { void Update(T entity); void Delete(T entity); void Add(T entity); Task Get(string id); Task SaveEntitiesAsync(CancellationToken cancellationToken = default); } public interface IRepository: IScopedDenpendency { } }