public void AddRacer(Racer racer) { if (racer != null) { Racers.Add(racer); } }
private void AddRacer(object obj) { Racer newRacer = _derbyDataService.CreateRacer(); Racers.Add(newRacer); Messenger.Default.Send <Racer>(newRacer); _dialogService.ShowRacerDetailDialog(); }