16 lines
428 B
C#
16 lines
428 B
C#
|
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>();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|