public ActionResult TestStarting(int testId, int questionId = 1)
        {
            var config = new MapperConfiguration(cfg => cfg.CreateMap <KnowledgeSystemDAL.Models.Question, StartingTestQuestionViewModel>());
            var mapper = config.CreateMapper();
            List <QuestionViewModel> questions = new List <QuestionViewModel>();

            foreach (var item in questionRepository.GetAllQuestionByTestId(testId))
            {
                QuestionViewModel questionViewModel = new QuestionViewModel();

                questionViewModel.Id     = item.Id;
                questionViewModel.Text   = item.Text;
                questionViewModel.TestID = item.TestID;

                questions.Add(questionViewModel);
            }

            List <VariantViewModel> variants = new List <VariantViewModel>();

            foreach (var item in variantRepository.GetAllByQuestionId(questionId))
            {
                VariantViewModel variant = new VariantViewModel();
                variant.Id         = item.Id;
                variant.Text       = item.Text;
                variant.IsRight    = item.IsRight;
                variant.QuestionId = item.QuestionId;

                variants.Add(variant);
            }
            variants.Count();
            var pageInfo = new QuestionPageInformation {
                TestId = testId, QuestionId = questionId, TotalPages = questionRepository.GetAllQuestionByTestId(testId).Count
            };
            var startingQuestionViewModel = new StartingTestQuestionViewModel {
                QuestionPageInformation = pageInfo, Question = questions, Variants = variants
            };


            return(View(startingQuestionViewModel));
        }