File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed
src/OData.WebApi/Data/Repositories Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ namespace OData.WebApi.Data.Repositories
9
9
public interface IRepository < TEntity >
10
10
where TEntity : BaseEntity
11
11
{
12
- Task < List < TEntity > > GetListAsync ( ) ;
13
- Task < TEntity > GetByIdAsync ( object id ) ;
14
12
Task < bool > IsExistAsync ( Guid id ) ;
15
13
void Add ( TEntity obj ) ;
16
14
void Update ( TEntity obj ) ;
Original file line number Diff line number Diff line change @@ -17,14 +17,6 @@ public Repository(ProductDbContext context)
17
17
_context = context ;
18
18
_dbSet = _context . Set < TEntity > ( ) ;
19
19
}
20
- public Task < List < TEntity > > GetListAsync ( )
21
- {
22
- return _dbSet . ToListAsync ( ) ;
23
- }
24
- public Task < TEntity > GetByIdAsync ( object id )
25
- {
26
- return _dbSet . FindAsync ( id ) ;
27
- }
28
20
29
21
public async Task < bool > IsExistAsync ( Guid id )
30
22
{
You can’t perform that action at this time.
0 commit comments