public List <TrainingExercise> FindTrainingExercise(TrainingExerciseCriteria trainingExerciseCriteria) { var trainingExercises = _trainingExerciseModule.Find(trainingExerciseCriteria); FindTrainingExerciseSet(trainingExercises); return(trainingExercises); }
public List <TrainingExercise> FindTrainingExercise(TrainingExerciseCriteria trainingExerciseCriteria) { var trainingExercises = _trainingExerciseModule.Find(trainingExerciseCriteria); if (trainingExercises != null) { foreach (var trainingExercise in trainingExercises) { CompleteTrainingExerciseWithSet(trainingExercise); } } return(trainingExercises); }