Class DriverRepo
java.lang.Object
com.example.vehicletaxsystem.repositories.DriverRepo
Repository class linked to drivers for setting the endpoints to be exposed to the client and calling the service class to handle requests.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDriverDTOByLicenceNo(int licenceNo) updateDriverEmail(int licenceNo, DriverDTO driverDTO)
-
Field Details
-
driverService
-
-
Constructor Details
-
DriverRepo
-
-
Method Details
-
getAllDrivers
-
getDriverDTOByLicenceNo
@GetMapping("/user/{licenceNo}") public DriverDTO getDriverDTOByLicenceNo(@PathVariable("licenceNo") int licenceNo) -
updateDriverEmail
-