Beispiel #1
0
 public void UpdateQuestion(Question question)
 {
     _repo.UpdateQuestion(question);
 }
 public QuestionViewModel(Question question)
 {
     this.Id = question.Id;
     this.QuestionDescription = question.QuestionDescription;
     this.Options = question.Options.Select(o => new OptionViewModel(o)).ToList();
 }