import { Router } from 'express';
import * as syncController from '../controllers/sync.controller.js';

const router = Router();

// GET routes
router.get('/companies', syncController.getCompanies);
router.get('/rides', syncController.getRides);

// POST routes
router.post('/companies', syncController.syncCompanies);
router.post('/rides', syncController.syncRides);

export default router;
