Пример #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();
        }