awaiting-disposition-header-attachment-id

This commit is contained in:
2024-06-18 10:55:12 -07:00
parent da3e839a48
commit e7b721fdb3
35 changed files with 311 additions and 273 deletions

View File

@ -38,4 +38,10 @@ public class AwaitingDispoController : Controller, IAwaitingDispoController<IAct
else
return StatusCode(444);
}
// this endpoint is used to clear the ReviewDate column, causing the header to show up again
[HttpGet("/api/awaitingdispo/{toolTypeId}/header-attachment-id")]
public IActionResult GetHeaderAttachmentID(int toolTypeId, [FromQuery] long headerid) =>
Content(_MetrologyRepository.GetHeaderAttachmentID(toolTypeId, headerid).ToString());
}