Automapper configuration class should inherit from Profile and IMapperProfile.
Implement method Order(). System will search every IMapperProfile and it will be registred automatically, so you dont have to do this.
In constructor you define what will be mapped. If you want you can add conditions.
Now create helper class.
Example of use