public IActionResult AnswerQuestion([FromBody] RecievedAnswerDto answerDto) { var question = questionsRepository.FindById(answerDto.Id); return(Ok(question.AnswerQuestion(answerDto.Answer))); }
public IActionResult AnswerQuestion([FromBody] RecievedAnswerDto answerDto) { var question = questionsRepository.FindById(answerDto.Id); return(Ok(question.AnswerQuestion(answerDto.Answer))); }