Develop the Mock Service
Explore how to develop a mock service for managing a one-to-one self-referencing relationship using StudentDto objects. Learn operations like create, find, edit, and remove within an in-memory singleton database context, preparing data for a mock user interface.
We'll cover the following...
We'll cover the following...
add function
The mock service will interact with an in-memory custom database for saving the data which will be consumed by the mock user interface. We will begin with the “added” feature. We have a list of StudentDto, and with every new entry one instance of StudentDto that has a ...