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: Country type: Country - name: Name type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/ExchangeService/country" (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 Exchange columns: - column: ListingsCount - column: Type - column: FoundedDate - column: Website - column: OwnerCompany - column: Name - column: MarketCapUsd - column: Currency - column: IsElectronic - column: LocationCity - column: LocationCountry The table should have the title "Exchanges" und the data must be loaded from the server with the following relative URL: "/ExchangeService/exchange/locationcity/{id}" Add a HTML table to the view with the following ExchangeVenue columns: - column: IsPrimary - column: Exchange - column: City The table should have the title "ExchangeVenues" und the data must be loaded from the server with the following relative URL: "/CityService/exchangevenue/city/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint