|
|
|
@ -18,8 +18,7 @@ namespace EasyAbp.EShop.Products |
|
|
|
/* You can configure your AutoMapper mapping configuration here. |
|
|
|
* Alternatively, you can split your mapping configurations |
|
|
|
* into multiple profile classes for a better organization. */ |
|
|
|
CreateMap<Product, ProductDto>() |
|
|
|
.Ignore(dto => dto.CategoryIds); |
|
|
|
CreateMap<Product, ProductDto>(); |
|
|
|
CreateMap<ProductDetail, ProductDetailDto>(); |
|
|
|
CreateMap<ProductAttribute, ProductAttributeDto>(); |
|
|
|
CreateMap<ProductAttributeOption, ProductAttributeOptionDto>(); |
|
|
|
|