move mapping profile to pre dir
This commit is contained in:
22
EnvelopeGenerator.Application/DocStatus/MappingProfile.cs
Normal file
22
EnvelopeGenerator.Application/DocStatus/MappingProfile.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using AutoMapper;
|
||||
using EnvelopeGenerator.Application.DocStatus.Commands;
|
||||
using EnvelopeGenerator.Domain.Entities;
|
||||
|
||||
namespace EnvelopeGenerator.Application.DocStatus;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public class MappingProfile : Profile
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public MappingProfile()
|
||||
{
|
||||
CreateMap<CreateDocStatusCommand, DocumentStatus>();
|
||||
CreateMap<UpdateDocStatusCommand, DocumentStatus>();
|
||||
CreateMap<EnvelopeQuery, Envelope>();
|
||||
CreateMap<ReceiverQuery, Receiver>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user