auth(__FUNCTION__); return response()->json(RelatorioMaterialService::index(), Response::HTTP_OK); } public function create() { return response()->json(RelatorioMaterialService::create(), Response::HTTP_OK); } public function list() { return response()->json(RelatorioMaterialService::list(), Response::HTTP_OK); } public function autocomplete() { return datatables()->of(RelatorioMaterialService::autocomplete())->make(true); } }