How to map bool to a enum using automapper properly?

Viewed 3899

Could someone show an example with mapping bool property to a enum type? I'm worry about null members in destenition. I need to have something like these:

null property value to a first enum value;

0 to a second;

1 to the last;

2 Answers
Related