Changeset ac25203 for src/main/java/com/example/moviezone/service
- Timestamp:
- 02/03/23 23:11:04 (23 months ago)
- Branches:
- master
- Children:
- eb226b2
- Parents:
- 1b248e4
- Location:
- src/main/java/com/example/moviezone/service
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/example/moviezone/service/Impl/UserServiceImpl.java
r1b248e4 rac25203 27 27 return userRepository.findById(id).orElseThrow(UserNotFoundException::new); 28 28 } 29 30 @Override 31 public User findByUsername(String username) { 32 return userRepository.findByUsername(username); 33 } 34 35 29 36 } -
src/main/java/com/example/moviezone/service/UserService.java
r1b248e4 rac25203 8 8 List<User> findAllUsers(); 9 9 User findById(Integer user_id); 10 User findByUsername(String username); 10 11 }
Note:
See TracChangeset
for help on using the changeset viewer.