create webservice route

This commit is contained in:
2025-11-12 09:26:49 +03:30
parent e666e4c277
commit 36d16081fe
3 changed files with 10 additions and 3 deletions

View File

@@ -224,7 +224,7 @@ class RoadMaintenanceStationController extends Controller
));
}
public function giveListToFms()
public function giveListToFms(): JsonResponse
{
return $this->successResponse(RahdariPoint::all(['id', 'name', 'lat', 'lng', 'area']));
}