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.
4 lines
150 B
C#
4 lines
150 B
C#
namespace HrynCo.NotificationService.Worker.Services.EmailProcessing;
|
|
|
|
public record RenderedEmail(string Subject, string HtmlBody, string TextBody);
|