create new object for user
This commit is contained in:
@@ -38,6 +38,15 @@ class RoadMaintenanceStationController extends Controller
|
||||
));
|
||||
}
|
||||
|
||||
public function findByCity(Request $request): JsonResponse
|
||||
{
|
||||
$stations = RahdariPoint::query()
|
||||
->where('city_id', $request->city_id)
|
||||
->get();
|
||||
|
||||
return $this->successResponse($stations);
|
||||
}
|
||||
|
||||
/**
|
||||
* Store a newly created resource in storage.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user