Browse Source

Add missing mappings

pull/48/head
enisn 5 years ago
parent
commit
4c74f20347
  1. 5
      services/payment/src/EShopOnAbp.PaymentService.Application/PaymentServiceApplicationAutoMapperProfile.cs

5
services/payment/src/EShopOnAbp.PaymentService.Application/PaymentServiceApplicationAutoMapperProfile.cs

@ -1,4 +1,6 @@
using AutoMapper;
using EShopOnAbp.PaymentService.PaymentRequests;
using Volo.Abp.AutoMapper;
namespace EShopOnAbp.PaymentService
{
@ -6,6 +8,9 @@ namespace EShopOnAbp.PaymentService
{
public PaymentServiceApplicationAutoMapperProfile()
{
CreateMap<PaymentRequest, PaymentRequestDto>();
CreateMap<PaymentRequestProduct, PaymentRequestProductDto>();
/* You can configure your AutoMapper mapping configuration here.
* Alternatively, you can split your mapping configurations
* into multiple profile classes for a better organization. */

Loading…
Cancel
Save