Overview
Summary
Contact
Donate
Imprint
Prompt for the
MilitaryBranchView
Please create a React-JS view called "MilitaryBranchView" for the fields of the MilitaryBranch entity. The MilitaryBranchView must contain the following fields: - name: BranchType type: STRING - name: Country type: Country - name: Name type: STRING The data source for the [Country] select control should be loaded from the relative URL: "/CountryService/country" (HTTP-GET) An existing MilitaryBranch entity should be loaded from the relative URL: "/CountryService/militarybranch/{id}" (HTTP-GET) If a new MilitaryBranch entity has been created, the new entity should be posted to the relative URL: "/CountryService/militarybranch" (HTTP-POST) If an existing MilitaryBranch entity has been updated, the modified entity should be sent to the relative URL: "/CountryService/militarybranch/{id}" (HTTP-PUT) If an existing MilitaryBranch entity has to be deleted, the following relative URL should be called: "/CountryService/militarybranch/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Mission columns: - column: War - column: Description - column: EndDateTime - column: StartDateTime - column: MissionType - column: DestinationLocation - column: OriginLocation - column: Zeppelin - column: Outcome - column: MilitaryBranch The table should have the title "Missions" und the data must be loaded from the server with the following relative URL: "/MissionService/mission/militarybranch/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint