Develop the Mock Service
Develop a mock service for saving data in-memory.
We'll cover the following...
add
function
Now that the data transfer object is set up, let’s add some functionality. The in-memory database follows the Singleton pattern implemented with an enum.
A list of BookDto
is saved in memory where the ...