Overview
Summary
Contact
Donate
Imprint
Prompt for the
CorporateEventView
Please create a React-JS view called "CorporateEventView" for the fields of the CorporateEvent entity. The CorporateEventView must contain the following fields: - name: Company type: Company - name: Description type: STRING - name: EventDate type: DATE - name: EventType type: STRING - name: ImpactSummary type: STRING - name: Title type: STRING The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing CorporateEvent entity should be loaded from the relative URL: "/ProgramService/corporateevent/{id}" (HTTP-GET) If a new CorporateEvent entity has been created, the new entity should be posted to the relative URL: "/ProgramService/corporateevent" (HTTP-POST) If an existing CorporateEvent entity has been updated, the modified entity should be sent to the relative URL: "/ProgramService/corporateevent/{id}" (HTTP-PUT) If an existing CorporateEvent entity has to be deleted, the following relative URL should be called: "/ProgramService/corporateevent/{id}" (HTTP-DELETE) Add a HTML table to the view with the following CorporateEventCompany columns: - column: CorporateEvent - column: Company - column: Role The table should have the title "CorporateEventCompanys" und the data must be loaded from the server with the following relative URL: "/ProgramService/corporateeventcompany/corporateevent/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint