You will be coding inside SsuControllers.java AND SsuFactory.java
Implement DELETE functionaly for SSU in the backend.
Create a new controller inside SsuControllers.java that takes in a DELETE request with a specifit ssuId
localhost:8080/SSU/{ssuId}
`public int deleteById(@PathVariable("ssuid") String ssuid)`
Create method inside the SsuFactory.java that will be called by the controller. The factory method should delete the specific SSU in the database, and return a 1 if successful. -1 if failed.
public int deleteById(String ssuId) {
// CODE HERE
}
You will be coding inside SsuControllers.java AND SsuFactory.java
Implement DELETE functionaly for SSU in the backend.
localhost:8080/SSU/{ssuId}