AT
Size: a a a
AT
AT
LS
LS
AB
LS
AB
LS
AT
RY
LS
RY
VS
AutoMapperМасса:120г;Калории:150”public RecipeProfile()
{
CreateMap<Recipe, RecipeDTO>()
.ForMember(d => d.Description,
o => o.MapFrom((r, dto) =>
{
dto.Description = r.Description.Split(';')
.Select(p => p.Trim().Split(':'))
.ToDictionary(p => p[0], p => p[1]);
return dto;
}));---> AutoMapper.AutoMapperMappingException: Missing type map configuration or unsupported mapping.
Mapping types:
Char -> KeyValuePair`2AG
AP
А
AP
VS