Esempio n. 1
0
        public ActionResult QuizTest(List <QuizAnswerVM> resultQuiz)
        {
            List <QuizAnswerVM> finalResultQuiz = new List <QuizAnswerVM>();

            foreach (QuizAnswerVM answser in resultQuiz)
            {
                QuizAnswerVM result = _Answer.GetAnswerByYourAnswer(answser);
                finalResultQuiz.Add(result);
            }

            return(Json(new { result = finalResultQuiz }));
        }