I create an entity with just two properties Id & Name, creating & listing is working fine BUT 'edit' is failing on this line (this is happening to all of these entities)
var output = new GetTitleForEditOutput { Title = ObjectMapper.Map<CreateOrEditTitleDto>(title) };
3 Answer(s)
-
0
exception below
AutoMapper.AutoMapperMappingException: Missing type map configuration or unsupported mapping.
Mapping types: Title -> CreateOrEditTitleDto insureserve.GenericLookups.Title -> insureserve.GenericLookups.Dtos.CreateOrEditTitleDto at lambda_method(Closure , Title , CreateOrEditTitleDto , ResolutionContext ) at lambda_method(Closure , Object , Object , ResolutionContext ) at AutoMapper.Mapper.AutoMapper.IMapper.Map[TDestination](Object source) in C:\projects\automapper\src\AutoMapper\Mapper.cs:line 212
-
0
got it, had to do the ReverseMappings()
-
0
closed