Overview
Summary
Contact
Donate
Imprint
Prompt for the
CrewedFlightView
Please create a React-JS view called "CrewedFlightView" for the fields of the CrewedFlight entity. The CrewedFlightView must contain the following fields: - name: Destination type: STRING - name: DurationDays type: STRING - name: Mission type: Mission - name: Notes type: STRING The data source for the [Mission] select control should be loaded from the relative URL: "/MissionService/mission" (HTTP-GET) An existing CrewedFlight entity should be loaded from the relative URL: "/MissionService/crewedflight/{id}" (HTTP-GET) If a new CrewedFlight entity has been created, the new entity should be posted to the relative URL: "/MissionService/crewedflight" (HTTP-POST) If an existing CrewedFlight entity has been updated, the modified entity should be sent to the relative URL: "/MissionService/crewedflight/{id}" (HTTP-PUT) If an existing CrewedFlight entity has to be deleted, the following relative URL should be called: "/MissionService/crewedflight/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CrewAssignment columns: - column: Person - column: CrewedFlight - column: Role - column: Notes The table should have the title "CrewAssignments" und the data must be loaded from the server with the following relative URL: "/PersonService/crewassignment/crewedflight/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint