Creating a Service
We'll cover the following...
Defining a service
In a simple example such as the one we’re looking at, we may skip the service and directly let the controller talk to the repository. However, introducing a service will help us see how Kotlin can be used to create a service. And if we decide to expand the example, to add more ...