Hello,
I wonder if it is possible to set Serial to Pin, if Pin is null.
I wonder if it is possible to set Serial to Pin, if Pin is null.
C#:
CreateMap<CouponDto, Coupon>()
.ForMember(dest => dest.Pin, src => src.NullSubstitute("-"))
.ForMember(dest => dest.Serial, src => src.NullSubstitute("-"));