public ActionResult BloodPressureData() { BloodPressureDataViewModel bloodPressureDataViewModel = new BloodPressureDataViewModel(); try { bloodPressureDataViewModel = new BloodPressureDataHelper().GetViewModel(); ViewBag.Error = ""; } catch (Exception ex) { ViewBag.Error = ex.Message; } return View(bloodPressureDataViewModel); }
public BloodPressureDataHelper() { bloodPressureDataViewModel = new BloodPressureDataViewModel(); }