Overview
Summary
Contact
Donate
Imprint
Prompt for the
CityView
Please create a React-JS view called "CityView" for the fields of the City entity. The CityView must contain the following fields: - name: Name type: STRING - name: Region type: Region The data source for the [Region] select control should be loaded from the relative URL: "/RegionService/region" (HTTP-GET) An existing City entity should be loaded from the relative URL: "/RegionService/city/{id}" (HTTP-GET) If a new City entity has been created, the new entity should be posted to the relative URL: "/RegionService/city" (HTTP-POST) If an existing City entity has been updated, the modified entity should be sent to the relative URL: "/RegionService/city/{id}" (HTTP-PUT) If an existing City entity has to be deleted, the following relative URL should be called: "/RegionService/city/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LaunchSite columns: - column: ElevationMeters - column: Longitude - column: Name - column: City - column: Latitude The table should have the title "LaunchSites" und the data must be loaded from the server with the following relative URL: "/LaunchSiteService/launchsite/city/{id}" Add a HTML table to the view with the following GroundStation columns: - column: NetworkTechnology - column: City - column: Name - column: SpectrumBand - column: Latitude - column: Longitude The table should have the title "GroundStations" und the data must be loaded from the server with the following relative URL: "/NetworkTechnologyService/groundstation/city/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint