fix bug select command

This commit is contained in:
Suphonchai Phoonsawat 2023-09-12 14:38:35 +07:00
parent adac4d0e53
commit c7994e50cc

View file

@ -5963,6 +5963,7 @@ namespace BMA.EHR.Application.Repositories.Commands
try
{
var command = await _dbContext.Set<Command>()
.Include(x => x.Placement)
.Include(x => x.Receivers)
.Include(x => x.CommandType)
.FirstOrDefaultAsync(x => x.Id == id);