public WeightGoalDataHelper()
 {
     weightGoalDataViewModel = new WeightGoalDataViewModel();
 }
Пример #2
0
 public ActionResult WeightGoalData()
 {
     WeightGoalDataViewModel weightGoalDataViewModel = new WeightGoalDataViewModel();
     try
     {
         weightGoalDataViewModel = new WeightGoalDataHelper().GetViewModel();
         ViewBag.Error = "";
     }
     catch (Exception ex)
     {
         ViewBag.Error = ex.Message;
     }
     return View(weightGoalDataViewModel);
 }