/// <summary> /// Update the points earnt for position for the indicated athlete on the indicated date. /// </summary> /// <param name="key">unique key</param> /// <param name="date">date of the event</param> /// <param name="points">earned points</param> public void UpdatePositionPoints(int key, DateType date, int points) { AthleteSeasonDetails athlete = Athletes.Find(a => a.Key == key); if (athlete == null) { return; } athlete.UpdatePositionPoints(date, points); }