コード例 #1
0
 public void AddAnswer(PresentationAnswer answer, string questionId) => _answerDao.Add(new Answer {
     FkQuestion = questionId, Truthful = answer.Truthful, Id = Guid.NewGuid().ToString(), Value = answer.Value
 });
コード例 #2
0
 public void ChangeAnswer(PresentationAnswer answer, string questionId) => _answerDao.Change(new Answer {
     FkQuestion = questionId, Truthful = answer.Truthful, Id = answer.Id, Value = answer.Value
 });