fix select placement round

This commit is contained in:
Suphonchai Phoonsawat 2023-09-08 11:31:56 +07:00
parent 9aa444b40b
commit 085b684980
3 changed files with 24 additions and 1 deletions

View file

@ -43,6 +43,22 @@ namespace BMA.EHR.Application.Repositories
}
}
public async Task<List<Placement>> GetAllPlacementAsync()
{
try
{
var data = await _dbContext.Set<Placement>()
.Include(p => p.PlacementType)
.ToListAsync();
return data;
}
catch
{
throw;
}
}
public async Task<List<Placement>> GetQualifyingPlacementAsync()
{
var data = await _dbContext.Set<Placement>()