예제 #1
0
 public void AddRacer(Racer racer)
 {
     if (racer != null)
     {
         Racers.Add(racer);
     }
 }
예제 #2
0
        private void AddRacer(object obj)
        {
            Racer newRacer = _derbyDataService.CreateRacer();

            Racers.Add(newRacer);
            Messenger.Default.Send <Racer>(newRacer);
            _dialogService.ShowRacerDetailDialog();
        }