3940414243444546474849
rsList.add(railwayStation); } public void deleteRailwayStationById(Long id) { RailwayStation found = findRailwayStationById(id); if (found != null) { rsList.remove(found); id--; }
4849505152535455565758
} } public void updateRailwayStation(RailwayStation railwayStation) { RailwayStation found = findRailwayStationById(railwayStation.getId()); if (found != null) { rsList.remove(found); rsList.add(railwayStation); } }