Add Patch 2 in API
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 2m56s

This commit is contained in:
Leandro Hernan Rojas 2025-04-03 17:48:18 -03:00
parent 79fab01546
commit 26ad549a0e

View File

@ -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)