예제 #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);
        }
예제 #2
0
 public Question(Tables.Questions q, List <Tables.BadAnswers> b)
 {
     Update(q, b);
 }