I have a Post method that returns an HttpResponseMessage:
HttpResponseMessage response =
Request.CreateResponse(HttpStatusCode.Created, updatedItemDto);
I'm writing some tests for this and would like to get the updated item from the HttpResponseMessage (particularly the ItemId). I tried inspecting the object and it looks like the object lives in Response.Content, but I don't know how to get it from the Content.