예제 #1
0
        public ActionResult <StudentModel> PostNewStudent([FromBody] StudentModel model)
        {
            Student      student      = studentBL.CreateStudent(StudentModel.ToStudent(model));
            StudentModel studentModel = StudentModel.ToStudentModel(student);

            return(studentModel);
        }