Files
hatame.andarza09/app/Http/Controllers/CityController.php
T
hatame 6302570d75 git add .
git commit "Implement authentication flow and initialize home page hero section"
2026-08-16 14:51:49 +03:30

18 lines
300 B
PHP

<?php
namespace App\Http\Controllers;
use App\Models\City;
use Illuminate\Http\Request;
class CityController extends Controller
{
//
public function getCities($province)
{
return City::where('province_id', $province)
->orderBy('name')
->get();
}
}