UserRepository
A repository for managing users in the database.
A list of all users.
findAll
Finds all users in the database.
The email address to search for.
The user if found, otherwise null.
findByEmail
Finds a user by their email address.
The ID of the user to find.
findById
Finds a user by their ID.
The user to save.
The ID of the newly created user.
save
Saves a new user to the database.
UserRepository
Description
A repository for managing users in the database.