public Task Handle(WorkoutDeleted notification, CancellationToken cancellationToken) { return(_workoutTableHandler.DeleteAsync(notification.WorkoutId, notification.UserId)); }
public void Apply(WorkoutDeleted e) { _active = false; }