File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Source/Ecommerce.Application/Common/Mapping Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public ProductMappingProfile()
2828 . ForMember ( dest => dest . ProductId , opt => opt . MapFrom ( src => src . Id . Value ) )
2929 . ForMember ( dest => dest . ProductName , opt => opt . MapFrom ( src => src . Name . Value ) )
3030 . ForMember ( dest => dest . ProductDescription , opt => opt . MapFrom ( src => src . Description . Value ) )
31- . ForMember ( dest => dest . PriceValue , opt => opt . MapFrom ( src => src . Price . Value ) )
31+ . ForMember ( dest => dest . PriceValueInCents , opt => opt . MapFrom ( src => src . Price . ValueInCents ) )
3232 . ForMember ( dest => dest . StockQuantity , opt => opt . MapFrom ( src => src . Stock . Quantity ) )
3333 . ForMember ( dest => dest . Tags , opt => opt . MapFrom ( src => src . Tags ) )
3434 . ForMember ( dest => dest . Images , opt => opt . MapFrom ( src => src . Images ) ) ;
You can’t perform that action at this time.
0 commit comments