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.
12 lines
279 B
C#
12 lines
279 B
C#
using Hrynco.RabbitMq;
|
|
|
|
namespace HrynCo.NotificationService.Worker;
|
|
|
|
public sealed class AppSettings
|
|
{
|
|
public const string SectionName = "App";
|
|
|
|
public string ConnectionString { get; init; } = string.Empty;
|
|
public RabbitMqSettings RabbitMq { get; init; } = null!;
|
|
}
|