Ejemplo n.º 1
0
        public async Task <IActionResult> DeleteInstanceAsync(string studyInstanceUid, string seriesInstanceUid, string sopInstanceUid)
        {
            _logger.LogInformation("DICOM Web Delete Instance request received, with study instance UID {studyInstanceUid}, series UID {seriesInstanceUid} and instance UID {sopInstanceUid}.", studyInstanceUid, seriesInstanceUid, sopInstanceUid);

            DeleteResourcesResponse deleteResponse = await _mediator.DeleteDicomInstanceAsync(
                studyInstanceUid, seriesInstanceUid, sopInstanceUid, cancellationToken : HttpContext.RequestAborted);

            return(NoContent());
        }