using System; using System.Collections.Generic; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Tango.DAL { public interface IRepository : IDisposable { } public interface IRepository : IRepository where T : Entity { Task> GetAsync(Expression> filter); Task> GetAllAsync(); Task ReplaceAsync(T entity); Task DeleteAsync(Expression> filter); Task Insert(T entity); Task Count(); Task Count(Expression> filter); } }