public async Task UpdateAnswerAsync([FromBody] AnswerUpdateRequest model)
        {
            var answer = await _questionnaireService.GetAnswerAsync(model.QuestionId, model.Id);

            if (answer != null)
            {
                await _questionnaireService.UpdateAnswersync(_mapper.Map <Answer>(model));
            }
        }
        public async Task <ActionResult> PutAsync(
            [FromRoute] Guid questionId,
            [FromRoute] Guid answerId,
            [FromBody] AnswerUpdateRequest request)
        {
            var answer = _mapper.Map <AnswerEditModel>(request);

            answer.AnswerId   = answerId;
            answer.QuestionId = questionId;
            answer.UserId     = User.UserId().Value;
            await _answerService.EditAnswerAsync(answer);

            return(NoContent());
        }