Can delete an accommodation
This commit is contained in:
@@ -211,8 +211,12 @@ async fn main() -> std::io::Result<()> {
|
||||
web::post().to(accommodations_list_controller::create),
|
||||
)
|
||||
// TODO : update
|
||||
// TODO : delete
|
||||
.route(
|
||||
"/family/{id}/accommodations/list/{accommodation_id}",
|
||||
web::delete().to(accommodations_list_controller::delete),
|
||||
)
|
||||
// TODO : list
|
||||
// TODO : get single
|
||||
// [ACCOMODATIONS] Reservations controller
|
||||
// TODO : create
|
||||
// TODO : update
|
||||
|
||||
Reference in New Issue
Block a user