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: StateProvince type: StateProvince The data source for the [StateProvince] select control should be loaded from the relative URL: "/CountryService/stateprovince" (HTTP-GET) An existing City entity should be loaded from the relative URL: "/CityService/city/{id}" (HTTP-GET) If a new City entity has been created, the new entity should be posted to the relative URL: "/CityService/city" (HTTP-POST) If an existing City entity has been updated, the modified entity should be sent to the relative URL: "/CityService/city/{id}" (HTTP-PUT) If an existing City entity has to be deleted, the following relative URL should be called: "/CityService/city/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Airport columns: - column: IataCode - column: City - column: Name The table should have the title "Airports" und the data must be loaded from the server with the following relative URL: "/CityService/airport/city/{id}" Add a HTML table to the view with the following ServiceArea columns: - column: Status - column: LaunchDate - column: Notes - column: StateProvince - column: City - column: IsAirport - column: MetroAreaName - column: Country The table should have the title "ServiceAreas" und the data must be loaded from the server with the following relative URL: "/CountryService/servicearea/city/{id}" Add a HTML table to the view with the following ServiceExpansionPlan columns: - column: Status - column: TargetCountry - column: TargetYear - column: TargetCity - column: Notes - column: Program The table should have the title "ServiceExpansionPlans" und the data must be loaded from the server with the following relative URL: "/CountryService/serviceexpansionplan/targetcity/{id}" Add a HTML table to the view with the following PublicTransitIntegration columns: - column: Program - column: Description - column: TransitAgencyName - column: City - column: StartDate The table should have the title "PublicTransitIntegrations" und the data must be loaded from the server with the following relative URL: "/CityService/publictransitintegration/city/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint