Uses of Class
com.unosquare.carmigo.dto.response.DriverResponse
-
Uses of DriverResponse in com.unosquare.carmigo.controller
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<DriverResponse>
DriverController.createDriver
(@Valid DriverRequest driverRequest) Enables logged-in users to create a driver's profile.org.springframework.http.ResponseEntity<DriverResponse>
DriverController.createDriverById
(int driverId, @Valid DriverRequest driverRequest) Enables logged-in admin users to create a driver's profile for another user.org.springframework.http.ResponseEntity<DriverResponse>
DriverController.getCurrentDriverProfile()
Enables logged-in users to see their driver's profiles.org.springframework.http.ResponseEntity<DriverResponse>
DriverController.getDriverById
(int driverId) Enables logged-in admin users to see other driver's profiles. -
Uses of DriverResponse in com.unosquare.carmigo.service
Modifier and TypeMethodDescriptionDriverService.createDriverById
(int platformUserId, DriverRequest driverRequest) Creates a driver.DriverService.getDriverById
(int driverId) Fetches a driver.