コード例 #1
0
        public async Task <IActionResult> SetUserAnswer([FromRoute] int id)
        {
            var loggedUser = User.GetUserIdFromToken();
            await _answerService.AnswerAQuestionAsync(loggedUser, id);

            return(Ok(new ApiOkResponse(null)));
        }