コード例 #1
0
ファイル: WebForm1.aspx.cs プロジェクト: ynasir/ASP.Net
        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);
        }
コード例 #2
0
ファイル: WebForm3.aspx.cs プロジェクト: ynasir/ASP.Net
        protected void btn_clear_Click(object sender, EventArgs e)
        {
            IIOHelper ioHelper = new DatabaseIOHelper();

            ioHelper.ClearMortgages();
        }