private static EmailBodyHTMLEmbeddedImage Map(EMailHtmlBodyIndlejretBilledeDTO emailBodyEmbeddedImageDTO)
        {
            EmailBodyHTMLEmbeddedImage emailBodyEmbeddedImage = null;

            if (emailBodyEmbeddedImageDTO != null)
            {
                emailBodyEmbeddedImage = new EmailBodyHTMLEmbeddedImage();
                emailBodyEmbeddedImage.BodyImageSourceID = emailBodyEmbeddedImageDTO.BilledeID;
                emailBodyEmbeddedImage.Content           = emailBodyEmbeddedImageDTO.Data;
            }
            return(emailBodyEmbeddedImage);
        }
        private static List <EmailBodyHTMLEmbeddedImage> Map(List <EMailHtmlBodyIndlejretBilledeDTO> emailBodyEmbeddedImageDTOs)
        {
            List <EmailBodyHTMLEmbeddedImage> emailBodyEmbeddedImages = new List <EmailBodyHTMLEmbeddedImage>();

            if (emailBodyEmbeddedImageDTOs != null)
            {
                foreach (EMailHtmlBodyIndlejretBilledeDTO emailBodyEmbeddedImageDTO in emailBodyEmbeddedImageDTOs)
                {
                    EmailBodyHTMLEmbeddedImage emailBodyEmbeddedImage = Map(emailBodyEmbeddedImageDTO);
                    if (emailBodyEmbeddedImage != null)
                    {
                        emailBodyEmbeddedImages.Add(emailBodyEmbeddedImage);
                    }
                }
            }
            return(emailBodyEmbeddedImages);
        }