zeroframework/Services/DeviceCenter/ZeroFramework.DeviceCenter.Application/AutoMapper/BuyersProfile.cs

16 lines
428 B
C#
Raw Normal View History

2023-12-05 09:22:48 +00:00
using AutoMapper;
using ZeroFramework.DeviceCenter.Application.Models.Ordering;
using ZeroFramework.DeviceCenter.Domain.Aggregates.OrderAggregate;
namespace ZeroFramework.DeviceCenter.Application.AutoMapper
{
public class BuyersProfile : Profile
{
public BuyersProfile()
{
CreateMap<OrderCreateRequestModel, Order>();
CreateMap<IEnumerable<Order>, Order>();
}
}
}