refactored questionnaire controller method by extracting import and export from the edit method