private void ExecuteContextMenu(PitchPoint point) { Points.Clear(); var newPoint = new PointViewModel(Points.Count.ToString(), point.X, point.Y, _currentTeam); Points.Add(newPoint); }
private void ExecuteMyCommand(PitchPoint point) { var newPoint = new PointViewModel(Points.Count.ToString(), point.X, point.Y, _currentTeam); Points.Add(newPoint); }