|
|
@ -6,7 +6,6 @@ namespace Microsoft.eShopWeb.ApplicationCore.Interfaces |
|
|
public interface IRepository<T> where T : BaseEntity |
|
|
public interface IRepository<T> where T : BaseEntity |
|
|
{ |
|
|
{ |
|
|
T GetSingleBySpec(ISpecification<T> spec); |
|
|
T GetSingleBySpec(ISpecification<T> spec); |
|
|
void Update(T entity); |
|
|
|
|
|
void Delete(T entity); |
|
|
void Delete(T entity); |
|
|
int Count(ISpecification<T> spec); |
|
|
int Count(ISpecification<T> spec); |
|
|
} |
|
|
} |
|
|
|