public IActionResult EditMultipleAnswerQuestion([FromBody] MultipleQuestionEditModel multipleAnswersQuestionDTO)
        {
            var allAnswers = multipleAnswersQuestionDTO.QuestionAnswers
                             .Select(x => new MultipleAnswerQuestionOption(x.AnswersText, x.IsRightAnswer))
                             .ToList();

            MultipleAnswerQuestion question = _questionRepository.PickById(multipleAnswersQuestionDTO.Id);

            _questionRepository.DeleteQuestionOptionsInDB(question);
            question.EditQuestion(multipleAnswersQuestionDTO.QuestionText, allAnswers);
            _questionRepository.UpdateQuestion(question);

            return(RedirectToAction("Index", "Home"));
        }