コード例 #1
0
ファイル: Case.cs プロジェクト: Cognite-Soft/ARB_2016_V2
        private static Question MapQuestion(CaseQuestion question)
        {
            var result = new Question();

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

            return result;
        }
コード例 #2
0
 private static CaseQuestion GetQuestion(Question question)
 {
     return new CaseQuestion()
     {
         Answer = question.Answer,
         Comments = question.Comments,
     };
 }