added things
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user