private static Question MapQuestion(CaseQuestion question) { var result = new Question(); if (question != null) { result.Answer = question.Answer ?? false; result.Comments = question.Comments; } return result; }
private static CaseQuestion GetQuestion(Question question) { return new CaseQuestion() { Answer = question.Answer, Comments = question.Comments, }; }