Add Patch Customer Take 100
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 2m48s
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (push) Successful in 2m48s
This commit is contained in:
parent
f15b3b159c
commit
a3e0b556c3
@ -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>);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user