Class TaxBandRepo
java.lang.Object
com.example.vehicletaxsystem.repositories.TaxBandRepo
Repository class linked to tax bands 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 TypeMethodDescriptionfindTaxBandById(int id) findTaxBandsByDescription(String description) updateTaxBand(int id, TaxBandDTO taxBandDTO)
-
Field Details
-
taxBandService
-
-
Constructor Details
-
TaxBandRepo
-
-
Method Details
-
updateTaxBand
@PostMapping("/super/{id}") public TaxBandDTO updateTaxBand(@PathVariable int id, @RequestBody TaxBandDTO taxBandDTO) -
findAllTaxBands
-
findTaxBandById
-
findTaxBandsByDescription
-