import express from 'express';
import { wrapAsync } from '@/api/http/request';
import * as frame from '@/api/controllers/frame_entries.controller';

const router = express.Router();

router.get('/', wrapAsync(frame.list));
router.post('/', wrapAsync(frame.create));
router.put('/:id', wrapAsync(frame.update));

export default router;
