Overview
Summary
Contact
Donate
Imprint
Prompt for the
StateProvinceView
Please create a React-JS view called "StateProvinceView" for the fields of the StateProvince entity. The StateProvinceView must contain the following fields: - name: Abbreviation type: STRING - name: Country type: Country - name: Name type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing StateProvince entity should be loaded from the relative URL: "/CountryService/stateprovince/{id}" (HTTP-GET) If a new StateProvince entity has been created, the new entity should be posted to the relative URL: "/CountryService/stateprovince" (HTTP-POST) If an existing StateProvince entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/stateprovince/{id}" (HTTP-PUT) If an existing StateProvince entity has to be deleted, the following relative URL should be called: "/CountryService/stateprovince/{id}" (HTTP-DELETE) 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/stateprovince/{id}" Add a HTML table to the view with the following City columns: - column: Name - column: StateProvince The table should have the title "Citys" und the data must be loaded from the server with the following relative URL: "/CityService/city/stateprovince/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint