дописала get в контроллерах
This commit is contained in:
@@ -57,4 +57,8 @@ class UserService(
|
||||
|
||||
userRepository.deleteById(id)
|
||||
}
|
||||
|
||||
fun findAll(): List<User> = userRepository.findAll()
|
||||
|
||||
fun findById(id: UUID): User? = userRepository.findById(id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user