Skip to content

Commit d8c3d4b

Browse files
Apply suggestions from code review
Co-authored-by: Will Sugarman <[email protected]>
1 parent 4ff4d33 commit d8c3d4b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/healthcare-apis/dicom/dicomweb-standard-apis-c-sharp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ _Details:_
279279

280280
```c#
281281
string query = $"/instances?SOPInstanceUID={sopInstanceUid}";
282-
DicomWebResponse response = await client.QueryStudyAsync(query);
282+
DicomWebResponse response = await client.QueryInstancesAsync(query);
283283
```
284284

285285
Validates that the response includes one instance, and that the response code is OK.
@@ -294,7 +294,7 @@ _Details:_
294294

295295
```c#
296296
string query = $"/studies/{studyInstanceUid}/instances?SOPInstanceUID={sopInstanceUid}";
297-
DicomWebResponse response = await client.QueryStudyAsync(query);
297+
DicomWebResponse response = await client.QueryStudyInstanceAsync(studyInstanceUid, query);
298298
```
299299

300300
Validates that the response includes one instance, and that the response code is OK.

0 commit comments

Comments
 (0)