Introduces `CreateEnvelopeMappingProfile` class to define mapping between `Envelope` entity and `CreateEnvelopeResponse` DTO using AutoMapper's `CreateMap` method.
19 lines
369 B
C#
19 lines
369 B
C#
using AutoMapper;
|
|
using EnvelopeGenerator.Domain.Entities;
|
|
|
|
namespace EnvelopeGenerator.Application.Envelopes.Commands;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public class CreateEnvelopeMappingProfile : Profile
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public CreateEnvelopeMappingProfile()
|
|
{
|
|
CreateMap<Envelope, CreateEnvelopeResponse>();
|
|
}
|
|
}
|