public Task TaskUpdated(TaskUpdatedDto updatedTasks) { try { // TODO: change to ICollection _taskUpdatedPublisher.Send(updatedTasks); } catch (Exception e) { // TODO: specify exception? _logger.LogWarning($"Failed to notify about updated tasks. Exception message: {e.Message}", e); } return(Task.CompletedTask); }
public Task Process(TaskUpdatedDto model) { return(_notifierService.TaskUpdated(model.Tasks, model.UserId)); }