API การลา 01-03

This commit is contained in:
Suphonchai Phoonsawat 2023-11-29 17:28:15 +07:00
parent 32686c3e0b
commit cffb53c1f5
29 changed files with 6391 additions and 4 deletions

View file

@ -34,6 +34,9 @@ namespace BMA.EHR.Application.Repositories
{
var data = await _dbContext.Set<Profile>().AsQueryable()
.Include(p => p.Prefix)
.Include(p => p.Position)
.Include(p => p.PositionLevel)
.Include(p => p.Salaries)
.FirstOrDefaultAsync(p => p.KeycloakId == keycloakId);
return data;