Exemple #1
0
        public async Task <IActionResult> QuestionTranslation([FromRoute] int id, [FromBody] AnswerTranslationRequest answerTranslationRequest)
        {
            var loggedUser = User.GetUserIdFromToken();
            await _answerService.ChangeAnswerTranslationAsync(loggedUser, answerTranslationRequest, id);

            return(Ok());
        }