Class GradeController
java.lang.Object
edu.ucsb.cs156.courses.controllers.ApiController
edu.ucsb.cs156.courses.controllers.GradeController
-
Constructor Summary
-
Method Summary
Methods inherited from class edu.ucsb.cs156.courses.controllers.ApiController
genericMessage, getCurrentUser, handleGenericException, handleIllegalArgumentException
-
Constructor Details
-
GradeController
public GradeController()
-
-
Method Details
-
allHistory
-
uploadCSV
@PreAuthorize("hasRole(\'ROLE_ADMIN\')") @PostMapping(value="upload", produces="application/json") public org.springframework.http.ResponseEntity<String> uploadCSV(@RequestPart org.springframework.web.multipart.MultipartFile file) throws IOException - Throws:
IOException
-