public IActionResult AddExercise(Exercise exercise) { if (ModelState.IsValid) { adminLogic.AddExercise(exercise); } return(View("ExerciseView")); }