Integrating the Service with Controller
We'll cover the following
Integrating
It’s time to modify the TaskController
we wrote earlier, to add two new methods and to modify the existing tasks()
method—that is, the GET operation.
Kotlin vs. Java
Once again, if we were to write in Java, here’s what the modified controller would look like:
Get hands-on with 1200+ tech skills courses.