Ignore:
Timestamp:
09/23/22 02:03:14 (2 years ago)
Author:
Marko <Marko@…>
Branches:
master
Children:
895cd87
Parents:
436e0da
Message:

Implemented all use cases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • phonelux-backend/src/main/java/finki/it/phoneluxbackend/controllers/UserController.java

    r436e0da r48f3030  
    3333    }
    3434
     35    @PutMapping(path = "/{userId}/editspecifications")
     36    public ResponseEntity<Object> editSpecificationsForUser(@PathVariable("userId") Long userId,
     37                                                            @RequestBody String specifications){
     38        return userService.editSpecificationsForUser(userId,specifications);
     39    }
     40
     41    @GetMapping(path = "/{userId}/getspecifications")
     42    public String getSpecificationsForUser(@PathVariable("userId") Long userId){
     43        return userService.getSpecificationsForUser(userId);
     44    }
     45
    3546}
Note: See TracChangeset for help on using the changeset viewer.