Пример #1
0
        public ActionResult Index(PaymentModel data)
        {
            GlobalLM payments = new GlobalLM();

            payments.DownPayment = data.DownPayment;
            payments.Fixed15Year = data.Fixed15Year;
            payments.Fixed30Year = data.Fixed30Year;
            payments.ARM51       = data.ARM51;

            return(Json(true));
        }
Пример #2
0
        // GET: Admin/payments
        public ActionResult Index()
        {
            PaymentModel data     = new PaymentModel();
            GlobalLM     payments = new GlobalLM();

            data.DownPayment = payments.DownPayment;
            data.Fixed15Year = payments.Fixed15Year;
            data.Fixed30Year = payments.Fixed30Year;
            data.ARM51       = payments.ARM51;

            return(View(data));
        }