Exemplo n.º 1
0
        private static Question MapQuestion(CaseQuestion question)
        {
            var result = new Question();

            if (question != null)
            {
                result.Answer = question.Answer ?? false;
                result.Comments = question.Comments;
            }

            return result;
        }
Exemplo n.º 2
0
 private static CaseQuestion GetQuestion(Question question)
 {
     return new CaseQuestion()
     {
         Answer = question.Answer,
         Comments = question.Comments,
     };
 }