I had defined in my project a global Automapper configuration that would allow me to use Mapper.Map(sourceObject); in my code. (See my configu
Mapper.Map(sourceObject);
Mapper.Initialize(cfg => { cfg.CreateMap(); });