Example #1
0
        void SaveLog(NotificationEMailListBo eMailBo, Enums.EMailLogEvents emailEventId, long?logExceptionId)
        {
            NotificationEMailBusiness eMailBusiness = new NotificationEMailBusiness();

            eMailBusiness.SaveLog(new NotificationEMailLogBo()
            {
                NotificationEMailId = eMailBo.Id,

                EmailEventId   = emailEventId,
                LogExceptionId = logExceptionId
            });
        }
Example #2
0
        void SaveSent(NotificationEMailListBo eMailBo, bool sentSuccessfully)
        {
            NotificationEMailBusiness eMailBusiness = new NotificationEMailBusiness();

            eMailBusiness.SaveSent(new NotificationEMailSentSaveBo()
            {
                NotificationEMailId = eMailBo.Id,

                Content = eMailBo.Content,

                SentSuccessfully = sentSuccessfully
            });
        }