How to use content object of CreatedAtRoute?

后端 未结 0 518
谎友^
谎友^ 2021-01-24 17:22

How can I use the object sending via CreatedAtRoute without recreating?

For Example:

return CreatedAtRoute(nameof(GetUserById), new { Id = userReadDto.Id }         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题