public ActionResult GetAllPagedPreTestQuestionByPreTestID(int PreTestID, int skip)
        {
            PagedPreTestQuestionDetail pagedPreTestQuestionDetail = new PagedPreTestQuestionDetail();

            pagedPreTestQuestionDetail.pagedPreTestQuestion = Mapper.Map <PagedPreTestQuestion>(_examService.GetAllPagedPreTestQuestionByPreTestID(PreTestID, skip, GlobalConst.Records.Take));
            pagedPreTestQuestionDetail.pagedPreTestQuestion.PagedRecords = GlobalConst.Records.Take;
            pagedPreTestQuestionDetail.preTest = Mapper.Map <PreTest>(_examService.GetPreTestByID(PreTestID));
            return(Json(pagedPreTestQuestionDetail, GlobalConst.Message.text_html));
        }
        public ActionResult EditPreTest(string PreTestID)
        {
            int _preID = Convert.ToInt32(DecryptString(PreTestID.ToString()));
            PagedPreTestQuestionDetail pagedPreTestQuestionDetail = new PagedPreTestQuestionDetail();

            pagedPreTestQuestionDetail.pagedPreTestQuestion = Mapper.Map <PagedPreTestQuestion>(_examService.GetAllPagedPreTestQuestionByPreTestID(_preID, GlobalConst.Records.Skip, GlobalConst.Records.LandingTake));
            pagedPreTestQuestionDetail.pagedPreTestQuestion.PagedRecords = GlobalConst.Records.LandingTake;
            pagedPreTestQuestionDetail.preTest = Mapper.Map <PreTest>(_examService.GetPreTestByID(_preID));
            return(View("Add", pagedPreTestQuestionDetail));
        }