private void CheckFullDateAndResolve(Event eventObject, Notification notification, DateTime notificationDate, List <Notification> toRemove) { if (notificationDate.Equals(DateUtils.CurrentDate())) { _logger.LogInformation($"Sending notification for event '{eventObject.Title} - {eventObject.Id}."); toRemove.Add(notification); _emailService.SendNotification(eventObject); _logger.LogInformation("E-mail should be sent."); } }