コード例 #1
0
        public async Task <IActionResult> GetAnswer(int id)
        {
            var answer = await _repo.GetAnswerAsync(id);

            answer = _mapper.Map <Answer>(answer);


            return(Ok(answer));
        }