Add Patch Customer Take 100
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 2m48s

This commit is contained in:
Leandro Hernan Rojas 2025-04-04 15:08:16 -03:00
parent f15b3b159c
commit a3e0b556c3

View File

@ -16,6 +16,7 @@ namespace Models.Repositories
{ {
var customers = await _context.PhSCustomers var customers = await _context.PhSCustomers
.Include(c => c.Accounttypes) .Include(c => c.Accounttypes)
.Take(100)
.ToListAsync(); .ToListAsync();
return customers.Select(EntityMapper.MapEntity<PhSCustomer, ECustomer>); return customers.Select(EntityMapper.MapEntity<PhSCustomer, ECustomer>);
} }