コード例 #1
0
 public async Task <ActionResult <Student> > PostStudent(Student student)
 {
     studentBusiness.InsertStudent(student);
     return(CreatedAtAction(nameof(GetStudentById), new { id = student.Id }, student));
 }