|
|
|
@ -41,7 +41,7 @@ class HierarchyFtthController extends Controller
|
|
|
|
|
return response()->json([ |
|
|
|
|
'message' => 'Hierarchy FTTH created successfully.', |
|
|
|
|
'data' => $hierarchyFtth |
|
|
|
|
]); |
|
|
|
|
],200); |
|
|
|
|
} catch (\Exception $e) { |
|
|
|
|
return response()->json([ |
|
|
|
|
'message' => 'Failed to create hierarchy FTTH.', |
|
|
|
@ -72,7 +72,7 @@ class HierarchyFtthController extends Controller
|
|
|
|
|
return response()->json([ |
|
|
|
|
'message' => 'Hierarchy FTTH updated successfully.', |
|
|
|
|
'data' => $hierarchyFtth |
|
|
|
|
]); |
|
|
|
|
],200); |
|
|
|
|
} catch (\Exception $e) { |
|
|
|
|
return response()->json([ |
|
|
|
|
'message' => 'Failed to update hierarchy FTTH.', |
|
|
|
@ -90,7 +90,7 @@ class HierarchyFtthController extends Controller
|
|
|
|
|
return response()->json([ |
|
|
|
|
'message' => 'Hierarchy FTTH deleted successfully.', |
|
|
|
|
'data' => $hierarchyFtth |
|
|
|
|
]); |
|
|
|
|
],200); |
|
|
|
|
} catch (\Exception $e) { |
|
|
|
|
return response()->json([ |
|
|
|
|
'message' => 'Failed to delete hierarchy FTTH.', |
|
|
|
|