Skip to content

Commit

Permalink
API - Fix for update product (Put method) - add missing mapping confi…
Browse files Browse the repository at this point in the history
…guration
  • Loading branch information
KrzysztofPajak committed Jul 20, 2021
1 parent af0bf07 commit 982be63
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@ public ProductProfile()

CreateMap<Product, ProductDto>();

CreateMap<ProductCategory, ProductCategoryDto>();
CreateMap<ProductCollection, ProductCollectionDto>();
CreateMap<ProductPicture, ProductPictureDto>();
CreateMap<ProductSpecificationAttribute, ProductSpecificationAttributeDto>();
CreateMap<TierPrice, ProductTierPriceDto>();
CreateMap<ProductWarehouseInventory, ProductWarehouseInventoryDto>();
CreateMap<ProductAttributeMapping, ProductAttributeMappingDto>();
CreateMap<ProductAttributeCombination, ProductAttributeCombinationDto>();
}

public int Order => 1;
Expand Down

0 comments on commit 982be63

Please sign in to comment.