How can I set property value use another property without use new() method?

后端 未结 0 504
心在旅途
心在旅途 2020-12-31 18:26

I want to initialize an object not by using the NEW() method but by the following parameter:

[HttpPost]
        public ActionResult UpdateXXX([FromBody] MyObj         


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