public List <TrainingExercise> FindTrainingExercise(TrainingExerciseCriteria trainingExerciseCriteria)
        {
            var trainingExercises = _trainingExerciseModule.Find(trainingExerciseCriteria);

            FindTrainingExerciseSet(trainingExercises);
            return(trainingExercises);
        }
Exemple #2
0
        public List <TrainingExercise> FindTrainingExercise(TrainingExerciseCriteria trainingExerciseCriteria)
        {
            var trainingExercises = _trainingExerciseModule.Find(trainingExerciseCriteria);

            if (trainingExercises != null)
            {
                foreach (var trainingExercise in trainingExercises)
                {
                    CompleteTrainingExerciseWithSet(trainingExercise);
                }
            }

            return(trainingExercises);
        }