Removing the GetById from IRepository
- removed it and updated everywhere, where it was called to use the async version
This commit is contained in:
1 parent
239d217825
commit
058d4e6f5a
5 files changed
+30
-29
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user