This commit is contained in:
2021-12-06 22:10:41 -03:00
parent 10b2485cfd
commit 8ef4ab1c7d
41 changed files with 1256 additions and 57 deletions

View File

@ -0,0 +1,13 @@
<?php
use Contabilidad\Common\Controller\TiposCambios;
$app->group('/cambios', function($app) {
$app->post('/obtener[/]', [TiposCambios::class, 'obtain']);
$app->post('/add[/]', [TiposCambios::class, 'add']);
$app->get('[/]', TiposCambios::class);
});
$app->group('/cambio/{tipo_id}', function($app) {
$app->put('/edit[/]', [TiposCambios::class, 'edit']);
$app->delete('/delete[/]', [TiposCambios::class, 'delete']);
$app->get('[/]', [TiposCambios::class, 'show']);
});