API : Return viewmodel/response based on Enum value

后端 未结 0 596
悲&欢浪女
悲&欢浪女 2021-02-01 02:19

I\'m working on an API endpoint working with enums, and I need to return a different Response (a class with different properties) based on enum value. I\'m sure Generics can hel

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