private  void GetLessons(ContentItemsRequest request, LessonsViewModel model, IMyMentorRepository repository)
        {
            model.SelectedResidenceId = request.category6;
            model.SelectedCityId = request.category8;
            var resideces = repository.FindAllResidences();
            var selectedResidence =
                (resideces).SingleOrDefault(res => res.Id == request.category6);

            var selectedCity =
                (resideces).SingleOrDefault(res => res.Id == request.category8);

            model.SelectedResidenceName = selectedResidence != null
                ? selectedResidence.Name
                : string.Empty;

            model.SelectedCityName = selectedCity != null
                ? selectedCity.Name
                : string.Empty;

            model.LessonFilters[1].SelectedValue = request.category2;
            model.LessonFilters[4].SelectedValue =HttpUtility.UrlDecode( request.category5);
            model.SelecteDate = request.category7;
            model.SortBy = request.SortBy;
            model.LessonDisplayMode = LessonDisplayMode.Lessons;

             GetContentItems(model, request);
        }