Create a new user.
Delete an existing user.
Finds a single user by ID.
Finds a single user by ID.
Checks in the cache before hitting the database. Once a user is found, this sets it into the cache.
a promise of maybe a user
Find all users.
Update an existing user.
User companion object. Fills the role of input/output mappers in the layered architecture. This object should handle all interaction with the technical services layer for Users.
For individual user lookups, this mapper will check the in-memory cache first, followed by the database.