using System; using System.Collections.Generic; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; using WhiteLagoon.Domain.Entities; namespace WhiteLagoon.Application.Common.Interfaces { public interface IRepository where T : class { IEnumerable GetAll(Expression>? filter = null, string? includeProperties = null, bool tracked = false); T Get(Expression> filter, string? includeProperties = null, bool tracked = false); void Add(T entity); bool Any(Expression> filter); void Remove(T entity); } }