Dec 15, 2020
You should encapsulate database logic using the repository pattern and return an empty optional if no record is found.
You should encapsulate database logic using the repository pattern and return an empty optional if no record is found.
Senior software developer, independent consultant and blogger