Hi guys, in this lesson we will implement cruise controllers. In cruise controllers, we will call crew service methods. First of all, we will call cursors. To dependency injection, we can use auto wired incident. Okay, now we can create our API methods. Our first method will be find transactions of users.
In this method, we will get user ID from PATH variable. Our method request of method will be get mapping and API pads, VoIP service users Plus user ID then we will return transactions of users. Our second methods will be find all courses. This method via GET request mapping and API path VOB service all are other methods newly saved transaction These methods will be opposed to cast. So we will get data feeds from the cast body API paths VoIP service angle. Then we will set initial videos for it and we will call our service method.
Our last method will be find transactions of course, in this method we will get course ID from PATH variable our method request of methods VOB gets method API Gatsby's service first class course ID. Then we will call user service methods Okay, that's all about controller implementation. Thank you