public async Task <IActionResult> AddAnswer(
            int questionId,
            [FromBody] PostAnswerRequestViewModel avm)
        {
            if (ModelState.IsValid == false)
            {
                return(BadRequest(ModelState));
            }

            var result = await this.answersService.AddAnswerAsync(questionId, avm.Answer);

            return(Ok(result));
        }
        public async Task <IActionResult> UpdateAnswer(
            int questionId,
            int answerId,
            [FromBody] PostAnswerRequestViewModel avm)
        {
            if (ModelState.IsValid == false)
            {
                return(BadRequest(ModelState));
            }

            await this.answersService.UpdateAnswerAsync(questionId, answerId, avm.Answer);

            return(NoContent());
        }