Example #1
0
        public ActionResult Index(CalculatorData data)
        {
            ViewBag.Success = true;

            data.ConvertUnits();

            return View(data);
        }
Example #2
0
        public ActionResult Index()
        {
            CalculatorData data = new CalculatorData();

            return View(data);
        }