protected void ApplyScoreUpdate(Dictionary <string, int> update) { foreach (string id in update.Keys) { IBike bike = CoreData.GetBaseBike(id); bike?.AddScore(update[id]); if (bike.score <= 0) { logger.Info($"ApplyScoreUpdate(). Bike: {bike.bikeId} has no score anymore!"); apian.SendRemoveBikeObs(FrameApianTime, bike.bikeId); } } }