var mapConfig = new MapperConfiguration(cfg => cfg.CreateMap<SourceClass, DestinationClass>());
var mapper = mapConfig.CreateMapper();
var activit = mapper.Map<DestinationClass>(sourceObject);
2023-12-28 19:49:31
var mapConfig = new MapperConfiguration(cfg => cfg.CreateMap<SourceClass, DestinationClass>());
var mapper = mapConfig.CreateMapper();
var activit = mapper.Map<DestinationClass>(sourceObject);