public void Execute(object parameter) { if (_isenemy) { _personViewModel.DeleteEnemy(selectedindex); } else { _personViewModel.DeleteFriend(selectedindex); } }