Class CartController
java.lang.Object
edu.ucsb.cs156.gauchoride.controllers.ApiController
edu.ucsb.cs156.gauchoride.controllers.CartController
-
Constructor Summary
-
Method Summary
Methods inherited from class edu.ucsb.cs156.gauchoride.controllers.ApiController
genericMessage, getCurrentUser, handleGenericException
-
Constructor Details
-
CartController
public CartController()
-
-
Method Details
-
allCart
-
getById
-
postCart
@PreAuthorize("hasRole(\'ROLE_ADMIN\')") @PostMapping("/post") public Cart postCart(@RequestParam String name, @RequestParam int capacityPeople, @RequestParam int capacityWheelchair) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
deleteCart
-
updateCart
-