Beispiel #1
0
        public SurveyAnswerVm(int referralId)
        {
            voSlist = new List <SurveyAnswerVo>();
            List <QuestionTypeVo> questions = questionTypeManager.getAll(true);

            foreach (var q in questions)
            {
                voSlist.Add(new SurveyAnswerVo(q.questionTypeId, referralId));
            }
            referralID = referralId;
        }
        public ActionResult List()
        {
            var results = questionTypeManager.getAll(null);

            return(PartialView(results));
        }