Пример #1
0
        public async Task StartAsync(CancellationToken cancellationToken)
        {
            _logger.LogTrace("Starting send email...");

            var emailMessage = await _emailMessageFactory.CreateAsync(null);

            var sendResult = await _notificator.NotifyAsync(emailMessage);

            _logger.LogInformation($"Email sent result:\n\n{sendResult}");
        }