Develop the Mock Service
Develop a mock service for saving data in-memory.
We'll cover the following
add
function
Let’s begin with a simple add
method to the in-memory database. This is based on the Singleton pattern implemented as an enum.
Get hands-on with 1400+ tech skills courses.