private void ExecuteCommandInviteToFaction() { var viewModel = (ViewModelPlayerEntry)this.DataContext; var name = viewModel.Name; FactionSystem.ClientOfficerInviteMember(name); }