Esempio n. 1
0
        private EmailNotification EmailNotification(EEmalNotification eEmailNotification)
        {
            return(new EmailNotification
            {
                EnableSsl = eEmailNotification.EnableSsl,
                IsBodyHtml = eEmailNotification.IsBodyHtml,

                CreatedDate = eEmailNotification.CreatedDate,
                UpdatedDate = eEmailNotification.UpdatedDate,

                CreatedBy = eEmailNotification.CreatedBy,
                EmailNotificationId = eEmailNotification.EmailNotificationId,
                Port = eEmailNotification.Port,
                UpdatedBy = eEmailNotification.UpdatedBy,

                Body = eEmailNotification.Body,
                Bcc = eEmailNotification.Bcc,
                CC = eEmailNotification.CC,
                Host = eEmailNotification.Host,
                From = eEmailNotification.From,
                Subject = eEmailNotification.Subject,
                To = eEmailNotification.To,
                Username = eEmailNotification.Username,
            });
        }
        private EmailNotification Notification(EEmalNotification eemailnotification)
        {
            return(new EmailNotification
            {
                CreatedDate = eemailnotification.CreatedDate,
                UpdatedDate = eemailnotification.UpdatedDate,

                CreatedBy = eemailnotification.CreatedBy,
                UpdatedBy = eemailnotification.UpdatedBy,

                NotificationId = eemailnotification.NotificationId,
                Sender = eemailnotification.Sender,
                Receiver = eemailnotification.Receiver,
                Subject = eemailnotification.Subject,
                Body = eemailnotification.Body,
            });
        }