/**
  * @param TrackEvent $TrackEvent
  * @param TrackStudentEvent $TrackStudentEvent
  * @return int|string
  */
 public function addAthleteToEvent(TrackEvent $TrackEvent, TrackStudentEvent $TrackStudentEvent)
 {
     if (!$TrackEvent->getTrackEventId()) {
         $TrackStudentEvent->setTrackEventId($this->getMeetEventId($TrackEvent));
     }
     if (!$TrackStudentEvent->getTrackEventId()) {
         return 0;
     }
     return $this->TrackSQL->addStudentEvent($TrackStudentEvent);
 }