public void RemoveAt(int index) { if (index < ParameterQuestions.Count) { ParameterQuestions.RemoveAt(index); return; } index = index - ParameterQuestions.Count; if (index < AnswerChoiceQuestions.Count) { AnswerChoiceQuestions.RemoveAt(index); return; } index = index - AnswerChoiceQuestions.Count; if (index < SimpleQuestions.Count) { SimpleQuestions.RemoveAt(index); return; } }
public void AddSimpleQuestion(SimpleQuestion question) { SimpleQuestions.Add(question); }