- Timestamp:
- 03/13/23 23:30:41 (20 months ago)
- Branches:
- master
- Children:
- 8bcd64c
- Parents:
- 46fd0c7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/edu/gjoko/schedlr/controllers/rest/BusinessController.java
r46fd0c7 r9050790 21 21 22 22 @GetMapping 23 public List<Business> getNewBusinesses() {24 return businessService. getNewBusiness();23 public List<Business> findAll() { 24 return businessService.findAll(); 25 25 } 26 26 27 27 @PatchMapping 28 public void activateBusinesses(@RequestBody List<Business> businessList) {29 businessService. activateBusinesses(businessList);28 public void updateBusinesses(@RequestBody List<Business> businessList) { 29 businessService.updateBusinesses(businessList); 30 30 } 31 31 }
Note:
See TracChangeset
for help on using the changeset viewer.