Esempio n. 1
0
        public void AnswerQuestion(LogPostQuestion q, int?score = null, string text = null)
        {
            LogPostAnswer a = new LogPostAnswer(q.Id, score, text);

            if (QAList.ContainsKey(q))
            {
                QAList.Remove(q);
            }
            QAList.Add(q, a);
        }
Esempio n. 2
0
 public void AddQuestion(LogPostQuestion q)
 {
     QuestionList.Add(q);
 }