Mapping in automapper based on a variable

后端 未结 0 541
忘了有多久
忘了有多久 2021-01-05 19:21

I am using Automapper for mapping my dtos. I have a tricky scenario where I want to map on condition.

If (countryCode == "")

CreateMap

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