refactor(MappingProfile): update to ignore Envelope, Sender and Receiver
This commit is contained in:
@@ -14,6 +14,9 @@ public class MappingProfile: Profile
|
||||
/// </summary>
|
||||
public MappingProfile()
|
||||
{
|
||||
CreateMap<CreateHistoryCommand, EnvelopeHistory>();
|
||||
CreateMap<CreateHistoryCommand, EnvelopeHistory>()
|
||||
.ForMember(dest => dest.Envelope, opt => opt.Ignore())
|
||||
.ForMember(dest => dest.Sender, opt => opt.Ignore())
|
||||
.ForMember(dest => dest.Receiver, opt => opt.Ignore());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user