public virtual void AddEmailTemplate(EmailJob emailJob) { if (!emailJob.IsNew() && _emailTemplates.Contains(emailJob)) { return; } _emailTemplates.Add(emailJob); }
public virtual void RemoveEmailTemplate(EmailJob emailJob) { _emailTemplates.Remove(emailJob); }
public virtual void AddEmailTemplate(EmailJob emailJob) { if (!emailJob.IsNew() && _emailTemplates.Contains(emailJob)) return; _emailTemplates.Add(emailJob); }