25fb48ccf0
- Extract email template handling, rendering, and sending code into `Worker.Services` project. - Introduce `EmailTemplateService`, `EmailTemplateRenderingService`, and `SendEmailService`. - Simplify consumer logic by delegating to scoped services. - Update project dependencies and package references accordingly.
10 lines
311 B
C#
10 lines
311 B
C#
using HrynCo.NotificationService.Contracts.Messages;
|
|
using HrynCo.NotificationService.DAL.Abstract.Templates;
|
|
|
|
namespace HrynCo.NotificationService.Worker.Services.EmailProcessing;
|
|
|
|
public interface IEmailTemplateRenderingService
|
|
{
|
|
RenderedEmail Render(EmailTemplate template, SendEmailMessageData data);
|
|
}
|