private void AddTransaction_Click(object sender, RoutedEventArgs e)
        {
            TransactionDialog transactionDialog = new TransactionDialog();
            bool?response = transactionDialog.ShowDialog();

            if (response == true)
            {
                this.GetTransactions();
            }
        }
        private void editTransaction_Click(object sender, RoutedEventArgs e)
        {
            Transaction transaction = (Transaction)transactionGrid.SelectedItem;

            transactionGrid.UnselectAll();
            TransactionDialog transactionDialog = new TransactionDialog(transaction);
            bool?response = transactionDialog.ShowDialog();

            if (response == true)
            {
                this.GetTransactions();
            }
        }