Mapper.CreateMap<Product, SelectListOptionItem>()
.ForMember(dest => dest.Text, opt => opt.MapFrom(src => src.Description))
.ForMember(dest => dest.Value, opt => opt.MapFrom(src => src.Id));
Product.TypeId には個別の使用が必要です
Mapper.CreateMap<Product, SelectListOptionItem>()
.ForMember(dest => dest.Text, opt => opt.MapFrom(src => src.Description))
.ForMember(dest => dest.Value, opt => opt.MapFrom(src => src.Id));
Product.TypeId には個別の使用が必要です