Esempio n. 1
0
        private void LogData()
        {
            string outputtext = $"With a principal of ${_prinicipal}, duration of {_years} years and an interest rate of {_rate}%, the monthly loan payment amount is ${_monthlypayment}";

            IIOHelper ioHelper = new DatabaseIOHelper();

            ioHelper.AddMortgage(outputtext, _prinicipal, _rate, _years, _monthlypayment);
        }
Esempio n. 2
0
        protected void btn_clear_Click(object sender, EventArgs e)
        {
            IIOHelper ioHelper = new DatabaseIOHelper();

            ioHelper.ClearMortgages();
        }