Overview
Summary
Contact
Donate
Imprint
Prompt for the
LocationRegionView
Please create a React-JS view called "LocationRegionView" for the fields of the LocationRegion entity. The LocationRegionView must contain the following fields: - name: LocationCountry type: LocationCountry - name: Name type: STRING The data source for the [LocationCountry] select control should be loaded from the relative URL: "/LocationCityService/locationcountry" (HTTP-GET) An existing LocationRegion entity should be loaded from the relative URL: "/LocationCityService/locationregion/{id}" (HTTP-GET) If a new LocationRegion entity has been created, the new entity should be posted to the relative URL: "/LocationCityService/locationregion" (HTTP-POST) If an existing LocationRegion entity has been updated, the modified entity should be sent to the relative URL: "/LocationCityService/locationregion/{id}" (HTTP-PUT) If an existing LocationRegion entity has to be deleted, the following relative URL should be called: "/LocationCityService/locationregion/{id}" (HTTP-DELETE) Add a HTML table to the view with the following LocationCity columns: - column: Name - column: LocationRegion - column: LocationCountry - column: Latitude - column: Longitude The table should have the title "LocationCitys" und the data must be loaded from the server with the following relative URL: "/LocationCityService/locationcity/locationregion/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint