public void CreateTransaction(String description, DateTime date, String type, String amount, String name, String payment_type)
        {
            Transactions transactions = new Transactions();

            transactions.CreateTransaction(description, date, type, double.Parse(amount), name, payment_type);
            Account account      = new Account();
            double  updateAmount = double.Parse(amount);

            if (type == "E")
            {
                updateAmount *= -1;
            }

            //update the specific accounts current amount based on the type of transaction
            account.UpdateAccount(payment_type, updateAmount);
        }