Overview
Summary
Contact
Donate
Imprint
Prompt for the
AircraftModelView
Please create a React-JS view called "AircraftModelView" for the fields of the AircraftModel entity. The AircraftModelView must contain the following fields: - name: EngineCount type: INT - name: EngineType type: STRING - name: IataCode type: STRING - name: IcaoCode type: STRING - name: Manufacturer type: STRING - name: Model type: STRING - name: WakeCategory type: STRING An existing AircraftModel entity should be loaded from the relative URL: "/AircraftService/aircraftmodel/{id}" (HTTP-GET) If a new AircraftModel entity has been created, the new entity should be posted to the relative URL: "/AircraftService/aircraftmodel" (HTTP-POST) If an existing AircraftModel entity has been updated, the modified entity should be sent to the relative URL: "/AircraftService/aircraftmodel/{id}" (HTTP-PUT) If an existing AircraftModel entity has to be deleted, the following relative URL should be called: "/AircraftService/aircraftmodel/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Aircraft columns: - column: Airline - column: DeliveryDate - column: AgeYears - column: SerialNumber - column: AircraftModel - column: Registration - column: ModeS The table should have the title "Aircrafts" und the data must be loaded from the server with the following relative URL: "/AircraftService/aircraft/aircraftmodel/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint