From c7994e50cc20b2c59c531c5928378ed825265e4e Mon Sep 17 00:00:00 2001 From: Suphonchai Phoonsawat Date: Tue, 12 Sep 2023 14:38:35 +0700 Subject: [PATCH] fix bug select command --- BMA.EHR.Application/Repositories/Commands/CommandRepository.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs index eeb4675e..17390c3e 100644 --- a/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs +++ b/BMA.EHR.Application/Repositories/Commands/CommandRepository.cs @@ -5963,6 +5963,7 @@ namespace BMA.EHR.Application.Repositories.Commands try { var command = await _dbContext.Set() + .Include(x => x.Placement) .Include(x => x.Receivers) .Include(x => x.CommandType) .FirstOrDefaultAsync(x => x.Id == id);