private async Task OnReminderSentAsync(ReminderItem reminder)
        {
            reminder.MarkSent();
            await _storage.UpdateAsync(reminder);

            ReminderSent?.Invoke(this, new ReminderEventArgs(reminder));
        }
        private async Task OnReminderSentAsync(ReminderItem reminder)
        {
            _logger.LogInformation($"Mark reminder {reminder.Id:N} as sent");
            reminder.MarkSent();
            await _storage.UpdateAsync(reminder);

            ReminderSent?.Invoke(this, new ReminderEventArgs(reminder));
        }
Beispiel #3
0
 private void OnReminderSent(ReminderItem reminder)
 {
     _logger.LogInformation($"Mark reminder {reminder.Id:N} as sent");
     reminder.MarkSent();
     ReminderSent?.Invoke(this, new ReminderEventArgs(reminder));
 }