Beispiel #1
0
        public static void DeleteAnswer(Question question, int number)
        {
            Answer answer = AnswerData.Get(question.UserID, question.QueryNumber, question.Number, number);

            AnswerData.Delete(answer);
            question.Answers = QuestionData.GetAnswers(question.UserID, question.QueryNumber, question.Number);
        }
Beispiel #2
0
 public static Answer Load(Question question, int number)
 {
     return(AnswerData.Get(question.UserID, question.QueryNumber, question.Number, number));
 }