示例#1
0
 public async Task Post(AnswerDto answerDto)
 {
     await _answerManager.CreateAnswerAsync(answerDto); //TODO: return an empty 201
 }
示例#2
0
        public async Task <AnswerDto> CreateAnswer(AnswerDto answer)
        {
            var newAnswer = await _answerManager.CreateAnswerAsync(answer);

            return(newAnswer);
        }