Overview
Summary
Contact
Donate
Imprint
Prompt for the
CrewedProgramView
Please create a React-JS view called "CrewedProgramView" for the fields of the CrewedProgram entity. The CrewedProgramView must contain the following fields: - name: Country type: Country - name: EndYear type: INT - name: Name type: STRING - name: Notes type: STRING - name: SpaceAgency type: SpaceAgency - name: StartYear type: INT The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) The data source for the [SpaceAgency] select control should be loaded from the relative URL: "/SpaceAgencyService/spaceagency" (HTTP-GET) An existing CrewedProgram entity should be loaded from the relative URL: "/CountryService/crewedprogram/{id}" (HTTP-GET) If a new CrewedProgram entity has been created, the new entity should be posted to the relative URL: "/CountryService/crewedprogram" (HTTP-POST) If an existing CrewedProgram entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/crewedprogram/{id}" (HTTP-PUT) If an existing CrewedProgram entity has to be deleted, the following relative URL should be called: "/CountryService/crewedprogram/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CrewedMission columns: - column: CrewedProgram - column: Destination - column: Notes - column: Launch - column: SpacecraftName The table should have the title "CrewedMissions" und the data must be loaded from the server with the following relative URL: "/OperatorService/crewedmission/crewedprogram/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint