Hi guys, in this lesson we will create cursors. In spring, there is a cycle in model we have control structures. First of all this flight model classes later called model classes from services finally call services from controllers and controllers, we return model classes. So in previous lesson, we described our repository classes. In this lesson, we will call them from service to do it. First of all, we will create service class.
First of all, let's create a new package under our main package, our package name DOB service. Under service package, we will create a core service interface And under service package, we will create cross service implementation class. This class implements core service. To define cool service as service class, we should add service annotation to it. Later we will call cross repository and transaction history to dependency injection we can use auto wise in Simulink. Okay, now we can create our methods.
Our first methods will be all courses. We can call it from course repository directly. Are seconds second methods will be find course by ID Our third method will be find transactions of users Other methods will be fine transactions of course. Our last methods VOB save transaction Okay, that's all about core service implementation. Thank you.