예제 #1
0
 public void RemoveAnswer(ChecklistAnswer answer)
 {
     if (_answers.Contains(answer))
     {
         _answers.Remove(answer);
     }
 }
예제 #2
0
 public void AddAnswer(ChecklistAnswer answer)
 {
     if (!_answers.Contains(answer))
     {
         _answers.Add(answer);
     }
 }