Example #1
0
        public void LoadQuestionsFromFile(string path)
        {
            var excelRows = ExcelReader.ReadFile(path);

            foreach (var excelRow in excelRows)
            {
                _questions.Add(_questionFactory.MakeQuestionPL(excelRow));
                _questions.Add(_questionFactory.MakeQuestionDE(excelRow));
                _questions.Add(_questionFactory.MakeQuestionENG(excelRow));
            }
        }