fix
This commit is contained in:
parent
142f87ce57
commit
f58ba90f62
3 changed files with 23 additions and 16 deletions
|
|
@ -2812,7 +2812,7 @@ namespace BMA.EHR.Insignia.Service.Controllers
|
|||
[HttpPut("upload/{requestId:length(36)}"), DisableRequestSizeLimit]
|
||||
public async Task<ActionResult<ResponseObject>> UpdatePersonDeferment([FromForm] ImportFileRequest req, Guid requestId)
|
||||
{
|
||||
var insigniaRequest = await _context.InsigniaRequests.Include(x => x.Document).Where(x => x.Id == requestId).FirstOrDefaultAsync();
|
||||
var insigniaRequest = await _context.InsigniaRequests.AsNoTracking().Include(x => x.Document).Where(x => x.Id == requestId).FirstOrDefaultAsync();
|
||||
if (insigniaRequest == null)
|
||||
return Error(GlobalMessages.InsigniaRequestNotFound, 404);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue