Using enum in data annotation

前端 未结 0 1571
鱼传尺愫
鱼传尺愫 2020-11-28 10:58

I am using a data annotation like so:

[RequiresAnyRole("Admin", "Member")]

I don\'t like passing strings as it can be a p

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