public ActionResult Calculate()
        {
            BloodPressure b1 = new BloodPressure();

            b1.DiastolicPressure = 60;
            b1.SystolicPressure  = 100;
            b1.UserBloodPressure = b1.CalculateBloodPressurecategory();

            return(View(b1));
        }
 public ActionResult Calculate(BloodPressure b1)
 {
     b1.UserBloodPressure = b1.CalculateBloodPressurecategory();
     return(View(b1));
 }