public static List <Item> GetQuestionAndAnswer(AssessmentQuizArticlePage1Item ObjAssesmentQuizPage1, string AnswerText)
        {
            List <Item> _QnAID = new List <Item>(2);
            IEnumerable <QuizQuestionItem> AllQs = ObjAssesmentQuizPage1.AllQuestions;

            if (AllQs != null)
            {
                foreach (QuizQuestionItem q in AllQs)
                {
                    IEnumerable <QuizAnswersItem> AllAs = QuizQuestionItem.GetAllAnswers(q);
                    if (AllAs != null)
                    {
                        foreach (QuizAnswersItem a in AllAs)
                        {
                            if (a.Answer == AnswerText)
                            {
                                _QnAID.Add(q.InnerItem);
                                _QnAID.Add(a.InnerItem);
                            }
                        }
                    }
                }
            }
            return(_QnAID);
        }
        public static IEnumerable <QuizQuestionItem> GetAllQuestions(AssessmentQuizArticlePage1Item CurrentQuiz1)
        {
            IEnumerable <QuizQuestionItem> AllSlideItems = CurrentQuiz1.AllQuestions;

            return(AllSlideItems);
        }