public IActionResult Index(Models.BMIFormData formData)
        {
            formData.BMIReport = BMICalculator.GetBMIValue(formData.UserWeight, formData.UserHieght);

            ViewBag.BmiRes = formData.BMIReport.BmiValue;
            return(View());
        }
        public IActionResult BMI(Models.BMIFormData data)
        {
            data.BMIReport          = BMICalculator.GetBMIValue(data.UserWeight, data.UserHieght);
            data.BMIReport.BmiValue = Math.Round(data.BMIReport.BmiValue, 2);

            ViewBag.BmiResult = data.BMIReport.BmiValue;
            ViewBag.BmiDesc   = data.BMIReport.BmiDesc;

            return(View());
        }