31 lines
789 B
PHP
31 lines
789 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\ExameImagem;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\ExameImagem\RelatorioExameStatusService;
|
|
use Illuminate\Http\Request;
|
|
use Illuminate\Http\Response;
|
|
|
|
class RelatorioExameStatusController extends Controller
|
|
{
|
|
protected $modulo = 'exame-imagem';
|
|
protected $funcionalidade = 'relatorio-exame-status';
|
|
|
|
public function index()
|
|
{
|
|
return response()->json(RelatorioExameStatusService::index(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function list()
|
|
{
|
|
return response()->json(RelatorioExameStatusService::list(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function datatable(Request $request)
|
|
{
|
|
return response()->json(RelatorioExameStatusService::datatable($request), Response::HTTP_OK);
|
|
}
|
|
|
|
}
|