Beispiel #1
0
        public QuestionDto CreateQuestion(QuestionDto question)
        {
            var newQuestion = _questionManager.CreateQuestion(question);

            return(newQuestion);
        }
Beispiel #2
0
 public async Task <QuestionDto> PostQuestion([FromBody] QuestionDto questionDto)
 {
     return(await _QuestionManager.CreateQuestion(questionDto));
 }