コード例 #1
0
 public async Task <ApiResponse> Post([FromBody] QuizDto quiz)
 => ModelState.IsValid ?
 await _quizManager.Create(quiz) :
 new ApiResponse(Status400BadRequest, "Quiz Model is Invalid");