AutoMapper.Mapper.CreateMap : Dynamically creating maps will be removed in version 5.0Posted: 2016-05-05automapper