public virtual quoteDto.QuoteAttachment ToQuoteAttachmentDto(Attachment attachment) { var result = new quoteDto.QuoteAttachment(); result.InjectFrom <NullableAndEnumValueInjecter>(attachment); return(result); }
public virtual quoteDto.QuoteAttachment ToQuoteAttachmentDto(Attachment attachment) { var result = new quoteDto.QuoteAttachment { CreatedBy = attachment.CreatedBy, CreatedDate = attachment.CreatedDate, Id = attachment.Id, MimeType = attachment.MimeType, ModifiedBy = attachment.ModifiedBy, ModifiedDate = attachment.ModifiedDate, Name = attachment.Name, Size = attachment.Size, Url = attachment.Url }; return(result); }
public virtual Attachment ToAttachment(quoteDto.QuoteAttachment attachmentDto) { var result = new Attachment { CreatedBy = attachmentDto.CreatedBy, CreatedDate = attachmentDto.CreatedDate, Id = attachmentDto.Id, MimeType = attachmentDto.MimeType, ModifiedBy = attachmentDto.ModifiedBy, ModifiedDate = attachmentDto.ModifiedDate, Name = attachmentDto.Name, Size = attachmentDto.Size, Url = attachmentDto.Url }; return(result); }
public static Attachment ToAttachment(this quoteDto.QuoteAttachment attachmentDto) { return(QuoteConverterInstance.ToAttachment(attachmentDto)); }