class PriceServiceImpl implements PriceService {

    @Override
    public Response findByRouteIdAndTrainType(String routeId, String trainType, HttpHeaders headers) {
        PriceServiceImpl.LOGGER.info("[Price Service][Find By Route And Train Type] Rote: {}   Train Type: {}", routeId, trainType);
        PriceConfig priceConfig = priceConfigRepository.findByRouteIdAndTrainType(routeId, trainType);
        PriceServiceImpl.LOGGER.info("[Price Service][Find By Route Id And Train Type]");

        if (priceConfig == null) {
            return new Response<>(0, noThatConfig, null);
        } else {
            return new Response<>(1, "Success", priceConfig);
        }
    }

}