app/Http/Controllers/RoomController.php 1 location
|
@@ 59-65 (lines=7) @@
|
| 56 |
|
]); |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
public function delete($id) |
| 60 |
|
{ |
| 61 |
|
Room::destroy($id); |
| 62 |
|
$data = ['class' => 'alert-success', 'message' => trans('general.deleted')]; |
| 63 |
|
|
| 64 |
|
return response()->json($data); |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
public function showAddEditForm($id = null) |
| 68 |
|
{ |
app/Http/Controllers/GuestController.php 1 location
|
@@ 59-65 (lines=7) @@
|
| 56 |
|
]); |
| 57 |
|
} |
| 58 |
|
|
| 59 |
|
public function delete($id) |
| 60 |
|
{ |
| 61 |
|
Guest::destroy($id); |
| 62 |
|
$data = ['class' => 'alert-success', 'message' => trans('general.deleted')]; |
| 63 |
|
|
| 64 |
|
return response()->json($data); |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
// TODO |
| 68 |
|
public function showAddEditForm($id = null) |