TL;DR: пакет для легкой регистрации (и конфигурации) AutoMapper в Unity.
var container = new UnityContainer();
container.RegisterMappingProfile<DataModelToViewModel>();
container.RegisterMapper();
public SomeController(IMappingEngine mapper)
{
_mapper = mapper;
}
public ViewModel SomeAction()
{
return _mapper.Map<ViewModel>(dataModel)
}