In ASP.NET MVC, how to validate an integer property for an enumeration range

前端 未结 0 1269
太阳男子
太阳男子 2021-01-25 23:13

I am creating a Web API in MVC. In my ViewModel-Objects I want to create validations for integer inputs, which are later in the process mapped to some enums.

Note: I

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