Browse Source

Fix BasketsWebAutoMapperProfile

pull/137/head
gdlcf88 5 years ago
parent
commit
e23ecea87c
  1. 2
      plugins/Baskets/src/EasyAbp.EShop.Plugins.Baskets.Web/BasketsWebAutoMapperProfile.cs

2
plugins/Baskets/src/EasyAbp.EShop.Plugins.Baskets.Web/BasketsWebAutoMapperProfile.cs

@ -15,7 +15,7 @@ namespace EasyAbp.EShop.Plugins.Baskets.Web
* into multiple profile classes for a better organization. */
CreateMap<ClientSideBasketItemModel, GenerateClientSideDataItemInput>()
.Ignore(dto => dto.ExtraProperties);
CreateMap<IBasketItem, EditBasketItemViewModel>();
CreateMap<BasketItemDto, EditBasketItemViewModel>();
CreateMap<CreateBasketItemViewModel, CreateBasketItemDto>()
.Ignore(dto => dto.UserId)
.Ignore(dto => dto.ExtraProperties);

Loading…
Cancel
Save