private void CopyScorer(Scorer source, SimpleEditableScorer target)
 {
     if (EditMode)
     {
         target.Id    = source.Id;
         target.Name  = source.Name;
         target.Teams = source.Teams;
     }
 }
 public void SetScorer(Scorer scorer)
 {
     EditingScorer = scorer;
     if (Scorer != null)
     {
         Scorer.ErrorsChanged -= RaiseCanExecuteChanged;
     }
     Scorer = new SimpleEditableScorer();
     Scorer.ErrorsChanged += RaiseCanExecuteChanged;
     CopyScorer(scorer, Scorer);
 }
 private void UpdateScorer(SimpleEditableScorer source, Scorer target)
 {
     target.Id    = source.Id;
     target.Name  = source.Name;
     target.Teams = source.Teams;
 }