This commit is contained in:
2021-11-30 18:04:41 -03:00
parent 87323b22d8
commit f589ff960b
56 changed files with 1960 additions and 0 deletions

View File

@ -0,0 +1,12 @@
<?php
use Incoviba\API\Common\Controller\Propietarios;
$app->group('/propietarios', function ($app) {
$app->post('/add[/]', [Propietarios::class, 'add']);
$app->get('[/]', Propietarios::class);
});
$app->group('/propietario/{propietario_rut}', function ($app) {
$app->put('/edit[/]', [Propietarios::class, 'edit']);
$app->delete('/edit[/]', [Propietarios::class, 'delete']);
$app->get('[/]', [Propietarios::class, 'show']);
});