/// <summary>
        /// open the card detail window with the selected card information
        /// </summary>
        private void OpenEditCardWindow()
        {
            CardDetailView cardDetailView = new CardDetailView();
            CardDetailViewModel cardDetailViewModel = new CardDetailViewModel(Types.DetialViewType.EDIT, selectedCard);
            cardDetailView.DataContext = cardDetailViewModel;

            App.Current.MainWindow = cardDetailView;
            cardDetailView.ShowDialog();
        }
        /// <summary>
        /// open the card detail window with empty card information
        /// </summary>
        private void OpenAddCardWindow()
        {
            CardDetailView cardDetailView = new CardDetailView();
            CardDetailViewModel cardDetailViewModel = new CardDetailViewModel(Types.DetialViewType.ADD);
            cardDetailView.DataContext = cardDetailViewModel;

            App.Current.MainWindow = cardDetailView;
            bool dialogResult = (bool)cardDetailView.ShowDialog();
            //if (dialogResult == true)
            //{
            //    cards.Add(cardDetailViewModel.SelectedCard);
            //}
        }