Example #1
0
        public IActionResult CheckAnswer(Guid id, string answer, string planetName)
        {
            var result =
                _questionRepository.CheckIfAnswerIsCorrect(new CheckCorrectAnswerDto(id, answer, planetName));

            return(Ok(result));
        }