void SaveLog(NotificationEMailListBo eMailBo, Enums.EMailLogEvents emailEventId, long?logExceptionId) { NotificationEMailBusiness eMailBusiness = new NotificationEMailBusiness(); eMailBusiness.SaveLog(new NotificationEMailLogBo() { NotificationEMailId = eMailBo.Id, EmailEventId = emailEventId, LogExceptionId = logExceptionId }); }
void SaveSent(NotificationEMailListBo eMailBo, bool sentSuccessfully) { NotificationEMailBusiness eMailBusiness = new NotificationEMailBusiness(); eMailBusiness.SaveSent(new NotificationEMailSentSaveBo() { NotificationEMailId = eMailBo.Id, Content = eMailBo.Content, SentSuccessfully = sentSuccessfully }); }