public ActionResult SelectExistingSubject(SubjectListModel model)
        {
            var subj = new SubjectModel(int.Parse(model.SelectedSubjId), model.SelectedSubjData);

            NodeStore.Ctx.InsertSubject(subj);

            var answer = NodeStore.Ctx.LevelTree.Peek().Answers.Last();

            NodeStore.Ctx.CompleteCreateAnswer(new AnswerModel(answer), subj.Id);

            return RedirectToAction("AddAnswer");
        }
        public ActionResult SelectExistingSubject()
        {
            var subjects = NodeStore.Ctx.GetSubjects();
            var model = new SubjectListModel
            {
                Subjects = subjects.Select(s => new SubjectModel(s)).ToList(),
                Answers = new AnswerListModel(
                    NodeStore.Ctx.LevelTree.Peek().Question,
                    NodeStore.Ctx.LevelTree.Peek().Answers.
                        Select(x => new AnswerModel(x)).ToList())
            };

            return View(model);
        }