Add Patch 2 in API
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 2m56s
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 2m56s
This commit is contained in:
parent
79fab01546
commit
26ad549a0e
@ -11,7 +11,7 @@ namespace Models.Repositories
|
|||||||
public GenericRepository(DbContext context)
|
public GenericRepository(DbContext context)
|
||||||
{
|
{
|
||||||
_context = context;
|
_context = context;
|
||||||
_dbSet = context.Set<T>();
|
_dbSet = _context.Set<T>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<T?> GetByIdAsync(int id)
|
public async Task<T?> GetByIdAsync(int id)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user