public class SourceType { public int Id { get; set; } public string Name { get; set; } }
public class DestinationType { public int Id { get; set; } public string DisplayName { get; set; } }
var source = new SourceType { Id = 1, Name = "Test" };
var config = new MapperConfiguration(cfg => {
cfg.CreateMap
IMapper mapper = config.CreateMapper();
var destination = mapper.Map