This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user