26 lines
630 B
PHP
26 lines
630 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Ambulatorio;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\Ambulatorio\GerenciamentoDiarioService;
|
|
use Illuminate\Http\Response;
|
|
|
|
class GerenciamentoDiarioController extends Controller
|
|
{
|
|
public function list()
|
|
{
|
|
return response()->json(GerenciamentoDiarioService::list(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function create()
|
|
{
|
|
return response()->json(GerenciamentoDiarioService::create(), Response::HTTP_OK);
|
|
}
|
|
|
|
public function store()
|
|
{
|
|
return response()->json(GerenciamentoDiarioService::store(), Response::HTTP_CREATED);
|
|
}
|
|
}
|