managment component logic
This commit is contained in:
@@ -18,6 +18,10 @@ export class WaypointService {
|
||||
) {
|
||||
}
|
||||
|
||||
getAllWaypoints() {
|
||||
return this.http.get<WaypointsEntity[]>(WAYPOINT);
|
||||
}
|
||||
|
||||
getWaypoints(location: string) {
|
||||
return this.http.get<WaypointsEntity[]>(WAYPOINT + "/" + location)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user