Class TurMLCategoryAPI

Object
TurMLCategoryAPI

@RestController @RequestMapping("/api/ml/category") public class TurMLCategoryAPI extends Object
  • Constructor Details

  • Method Details

    • turMLCategoryList

      @GetMapping public List<TurMLCategory> turMLCategoryList()
    • turMLCategoryGet

      @GetMapping("/{id}") public TurMLCategory turMLCategoryGet(@PathVariable int id)
    • turMLCategoryUpdate

      @PutMapping("/{id}") public TurMLCategory turMLCategoryUpdate(@PathVariable int id, @RequestBody TurMLCategory turMLCategory)
    • turMLCategoryDelete

      @Transactional @DeleteMapping("/{id}") public boolean turMLCategoryDelete(@PathVariable int id)
    • turMLCategoryAdd

      @PostMapping public TurMLCategory turMLCategoryAdd(@RequestBody TurMLCategory turMLCategory)