public List <MuscularGroup> FindMuscularGroups() { var list = _muscularGroupModule.Find(); if (list != null) { foreach (var muscularGroup in list) { CompleteTranslation(muscularGroup); } } return(list); }
public List <MuscularGroup> FindMuscularGroups(MuscularGroupCriteria muscularGroupCriteria = null) { var muscularGroupList = _module.Find(muscularGroupCriteria); if (muscularGroupList != null) { foreach (var muscularGroup in muscularGroupList) { if (muscularGroup != null) { muscularGroup.Name = Translation.GetInDB(MuscularGroupTransformer.GetTranslationKey(muscularGroup.Id)); } } } return(muscularGroupList); }