unsa-pis-be/app/Http/Controllers/Api/ResponsablesValoresController.php

23 lines
495 B
PHP
Raw Normal View History

2022-08-09 05:04:46 +00:00
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use App\Models\ResponsablesValores;
use Illuminate\Http\Request;
class ResponsablesValoresController extends Controller
{
public function listResponsablesValores()
{
$ResponsableValorList = ResponsablesValores::all();
return response([
"status" => 1,
"msg" => "!Lista de responsables",
"data" => $ResponsableValorList,
]);
}
}