24 lines
550 B
C#
24 lines
550 B
C#
using AutoMapper;
|
|
using EnvelopeGenerator.Application.Receivers.Commands;
|
|
using EnvelopeGenerator.Domain.Entities;
|
|
|
|
namespace EnvelopeGenerator.Application.Receivers;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class MappingProfile : Profile
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public MappingProfile()
|
|
{
|
|
CreateMap<Receiver, UpdateReceiverCommand>();
|
|
CreateMap<UpdateReceiverCommand, Receiver>();
|
|
|
|
CreateMap<Receiver, CreateReceiverCommand>();
|
|
CreateMap<CreateReceiverCommand, Receiver>();
|
|
}
|
|
}
|