Esempio n. 1
0
        public List <Muscle> FindMuscles(MuscleCriteria criteria = null)
        {
            var list = _muscleModule.Find(criteria);

            if (list != null)
            {
                foreach (var muscle in list)
                {
                    CompleteTranslation(muscle);
                }
            }
            return(list);
        }
Esempio n. 2
0
        public List <Muscle> FindMuscles(MuscleCriteria muscleCriteria = null)
        {
            var muscleList = _module.Find(muscleCriteria);

            if (muscleList != null)
            {
                foreach (var muscle in muscleList)
                {
                    if (muscle != null)
                    {
                        muscle.Name = Translation.GetInDB(MuscleTransformer.GetTranslationKey(muscle.Id));
                    }
                }
            }

            return(muscleList);
        }