Consider the following code:
return CreatedAtAction(nameof(GetItem), new { Id = item.id }, item );
I want to view the implementation