In net 5, when binding from body, how to specify that all properties must be present?

后端 未结 0 1854
自闭症患者
自闭症患者 2020-12-31 03:33

Attributes like BindRequired make an action parameter to be required, even the usual model validation attributes can be applied. How can you make all properties from a class

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