Removing the GetById from IRepository

- removed it and updated everywhere, where it was called to use the async version
This commit is contained in:
Eric Fleming
2019-03-01 21:42:52 -05:00
parent 239d217825
commit 058d4e6f5a
5 changed files with 30 additions and 29 deletions

View File

@@ -5,7 +5,6 @@ namespace Microsoft.eShopWeb.ApplicationCore.Interfaces
{
public interface IRepository<T> where T : BaseEntity
{
T GetById(int id);
T GetSingleBySpec(ISpecification<T> spec);
IEnumerable<T> ListAll();
IEnumerable<T> List(ISpecification<T> spec);