erp-platform/api/src/Kurs.Platform.Application/Orders/OrderAutoMapperProfile.cs
Sedat ÖZTÜRK 8cc8ed07f9 Düzenleme
2025-08-11 09:34:44 +03:00

15 lines
411 B
C#

using AutoMapper;
using Kurs.Platform.Entities;
namespace Kurs.Platform.Orders;
public class OrderApplicationAutoMapperProfile : Profile
{
public OrderApplicationAutoMapperProfile()
{
CreateMap<Product, ProductDto>().ReverseMap();
CreateMap<PaymentMethod, PaymentMethodDto>();
CreateMap<InstallmentOption, InstallmentOptionDto>();
CreateMap<Order, OrderDto>();
}
}