BFjamsec
11/14/2017 - 2:23 PM

Automapper - Multi object source and one destination

d = AutoMapper.Mapper.Map<sourceone, destination>(sourceone);
/* Pass the created destination to the second map call: */
AutoMapper.Mapper.Map<sourcetwo, destination>(sourcetwo, d);