Esempio n. 1
0
        public Question Update(Tables.Questions q, List <Tables.BadAnswers> b)
        {
            QID        = q.ID;
            Text       = q.Question;
            Answer     = q.Answer;
            BadAnswers = b.Select(x => x.Answer).ToList();

            return(this);
        }
Esempio n. 2
0
 public Question(Tables.Questions q, List <Tables.BadAnswers> b)
 {
     Update(q, b);
 }