public SurveyController(IShapeFactory shapeFactory,
     IOrchardServices orchardServices,
     ILiveoSurveyService surveyService) {
     Shape = shapeFactory;
     _orchardServices = orchardServices;
     _surveyService = surveyService;
 }
        public SurveyHandler(IRepository<SurveyRecord> repository,
            ILiveoSurveyService surveyService) {
            Filters.Add(StorageFilter.For(repository));
            _liveoSurveyService = surveyService;

            OnLoaded<SurveyPart>((context, part) => {
                                     // load up the survey with it...
                                     part.Survey = _liveoSurveyService.GetById(part.SurveyId);
                                 });
        }