Пример #1
0
        private void Find()
        {
            ExerciseList.Clear();

            var exerciseSearchCriteria = new ExerciseSearchCriteria();

            exerciseSearchCriteria.Title = FindText;

            foreach (var exercise in exerciseService.Find(exerciseSearchCriteria))
            {
                ExerciseList.Add(Mapper.Map <ExerciseListItemModel>(exercise));
            }
        }