public void UpdateQuestionList(QuestionList QLObject, int index, Question newQ) { QLObject.Questions[index] = new Question { QuestionId = newQ.QuestionId, Category = newQ.Category, Rating = newQ.Rating }; }
public List<Question> GetQuestionList(QuestionList QLObject) { return QLObject.Questions; }
public void DeleteQuestionList(QuestionList QLObject) { QLObject.Questions.Clear(); }