managment component logic

This commit is contained in:
2023-04-30 14:10:58 +02:00
parent 0aad60bab3
commit a68d48e065
5 changed files with 92 additions and 105 deletions

View File

@@ -18,6 +18,10 @@ export class WaypointService {
) {
}
getAllWaypoints() {
return this.http.get<WaypointsEntity[]>(WAYPOINT);
}
getWaypoints(location: string) {
return this.http.get<WaypointsEntity[]>(WAYPOINT + "/" + location)