develop (#45)
Co-authored-by: Juan Pablo Vial <jpvialb@incoviba.cl> Reviewed-on: #45
This commit is contained in:
13
app/resources/routes/api/inmobiliarias/proveedores.php
Normal file
13
app/resources/routes/api/inmobiliarias/proveedores.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
use Incoviba\Controller\API\Inmobiliarias\Proveedores;
|
||||
|
||||
$app->group('/proveedores', function($app) {
|
||||
$app->post('/add[/]', [Proveedores::class, 'add']);
|
||||
$app->post('/edit[/]', [Proveedores::class, 'edit']);
|
||||
//$app->post('/register[/]', [Proveedores::class, 'register']);
|
||||
$app->get('[/]', Proveedores::class);
|
||||
});
|
||||
$app->group('/proveedor/{proveedor_rut:[0-9]+}', function($app) {
|
||||
$app->delete('/delete[/]', [Proveedores::class, 'delete']);
|
||||
$app->get('[/]', [Proveedores::class, 'get']);
|
||||
});
|
7
app/resources/routes/api/inmobiliarias/sociedades.php
Normal file
7
app/resources/routes/api/inmobiliarias/sociedades.php
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
use Incoviba\Controller\API\Inmobiliarias\Sociedades;
|
||||
|
||||
$app->group('/sociedades', function($app) {
|
||||
$app->post('/add[/]', [Sociedades::class, 'add']);
|
||||
$app->get('[/]', Sociedades::class);
|
||||
});
|
Reference in New Issue
Block a user