Esempio n. 1
0
        public ActionResult AddWorkout()
        {
            WorkoutMgr          workoutMgr   = new WorkoutMgr();
            GebruikerMgr        gebruikerMgr = new GebruikerMgr();
            AddWorkoutViewModel model        = new AddWorkoutViewModel();

            model.StandaardWorkouts        = workoutMgr.AlleStandaardWorkouts();
            model.WorkoutsHuidigeGebruiker = workoutMgr.AllPersonalWorkoutsOnGebruiker(1);

            return(View(model));
        }