public ActionResult AddCardioExercise(int exerciseID, int workoutID, int duration, int intensity) { bool success = _workoutDal.AddCardioToWorkout(new CardioExercise() { Duration = duration, Intensity = intensity, ExerciseID = exerciseID, WorkoutID = workoutID }); Workout wo = new Workout(); wo.GetBig = _workoutDal.GetStrengthExercises(workoutID); wo.RunningAndStuff = _workoutDal.GetCardioExercises(workoutID); return(Json(wo, JsonRequestBehavior.AllowGet)); }