SeatSelection page

This commit is contained in:
2024-10-04 20:15:16 +02:00
parent 8165f17fc8
commit e48782b897
22 changed files with 316 additions and 76 deletions

View File

@@ -4,4 +4,12 @@ let BASE_URL = "http://localhost:3000/concerts"
export async function getAllConcerts() {
return await axios.get(BASE_URL)
}
}
export async function getConcert(id: number) {
if (id != undefined) {
return await axios.get(BASE_URL + "/" + id)
} else {
return null
}
}