Ejemplo n.º 1
0
 public ActionResult ExerciseData()
 {
     ExerciseDataViewModel exerciseDataViewModel = new ExerciseDataViewModel();
     try
     {
         exerciseDataViewModel = new ExerciseDataHelper().GetViewModel();
         ViewBag.Error = "";
     }
     catch (Exception ex)
     {
         ViewBag.Error = ex.Message;
     }
     return View(exerciseDataViewModel);
 }
 public ExerciseDataHelper()
 {
     exerciseDataViewModel = new ExerciseDataViewModel();
 }