Beispiel #1
0
        public ActionResult <IQuizServices> CreateQuiz([FromBody] Quiz value)
        {
            var results = _quizService.CreateQuiz((Quiz)value);

            return(Ok(results));
        }
 public ActionResult <Quiz> CreateQuiz([FromBody] Quiz quiz)
 {
     return(Ok(_quizServices.CreateQuiz(quiz)));
 }