added things

This commit is contained in:
szabomarton committed 2025-03-10 13:58:21 +01:00
1 parent 33371852e0
commit c4f2c7fbcb
127 files changed
+20894

No files matched your search

@@ -0,0 +1,14 @@
<?php
namespace App\Http\Controllers;
use App\Models\Ingatlan;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
class IngatlanController extends Controller
{
public function index(): JsonResponse{
return response()->json(Ingatlan::getAllWithCategory(), 200);
}
}