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