class RouteController {

    @PostMapping(path = "/routes")
    public ResponseEntity<Response> createAndModifyRoute(@RequestBody RouteInfo createAndModifyRouteInfo, @RequestHeader HttpHeaders headers) {
        RouteController.LOGGER.info("Create Route id: {}", createAndModifyRouteInfo.getId());
        return ok(routeService.createAndModify(createAndModifyRouteInfo, headers));
    }

}