var express = require('express');
var router = express.Router();
var controller = require('../controllers/factura');

router.get('/:id?', controller.get);
router.post('/', controller.post);
router.put('/', controller.put);
router.delete('/', controller.delete);
router.post('/download', controller.download);
router.post('/cancel', controller.cancel);

module.exports = router;