In order to save changes to my db, I am using Automapper to map a property of type string from destination to a property of type int in source.
I have tried ForMember but it works for source to destination only.
So how can I map a property named IpPort of type string in class B to a property named IpPort of type int in class A.
Class A and B are mapped like this:
cf.CreateMap<classA, classB>().ReverseMap();