Challenge Solution

In this lesson, let’s check the solution for the challenge posed in the previous lesson.

Controller

This code is quite simple and very similar to the API for getAllOrders.

Get hands-on with 1200+ tech skills courses.