private void ExecuteAddAttack()
        {
            AddAttackWindowViewModel addAttackWindowViewModel = new AddAttackWindowViewModel();

            Model.Attack attack = addAttackWindowViewModel.GetAttack();
            if (attack != null)
            {
                AttackViewModel attackViewModel = new AttackViewModel {
                    Attack = attack
                };
                AttackViewModels.Add(attackViewModel);
            }
        }
 private void ExecuteEditAttack()
 {
     if (SelectedAttack < AttackViewModels.Count)
     {
         AddAttackWindowViewModel addAttackWindowViewModel = new AddAttackWindowViewModel(AttackViewModels[SelectedAttack].Attack);
         Model.Attack             attack = addAttackWindowViewModel.GetAttack();
         if (attack != null)
         {
             AttackViewModel attackViewModel = new AttackViewModel {
                 Attack = attack
             };
             AttackViewModels[SelectedAttack] = attackViewModel;
         }
     }
 }