Commit 787f79e7 authored by Kyle Muldoon's avatar Kyle Muldoon

Merge remote-tracking branch 'origin/master'

parents 43d67ae2 2797ae87
......@@ -26,8 +26,7 @@ public class StudentMarksController {
// (POST) create studentmark
@PostMapping("/studentMarks")
public ResponseEntity<StudentMarks> createMarks(@RequestBody StudentMarks studentMarks) {
StudentMarks studentMarks1 = studentService.addStudent(studentMarks);
return ResponseEntity.ok().body(studentMarks1);
return ResponseEntity.ok(studentService.addStudent(studentMarks));
}
// (GET) find studentmark by id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment