Overview
Summary
Contact
Donate
Imprint
Prompt for the
PersonView
Please create a React-JS view called "PersonView" for the fields of the Person entity. The PersonView must contain the following fields: - name: Company type: Company - name: EndDate type: DATE - name: FirstName type: STRING - name: IsKeyPerson type: BOOL - name: LastName type: STRING - name: Role type: STRING - name: StartDate type: DATE The data source for the [Company] select control should be loaded from the relative URL: "/CompanyService/company" (HTTP-GET) An existing Person entity should be loaded from the relative URL: "/CompanyService/person/{id}" (HTTP-GET) If a new Person entity has been created, the new entity should be posted to the relative URL: "/CompanyService/person" (HTTP-POST) If an existing Person entity has been updated, the modified entity should be sent to the relative URL: "/CompanyService/person/{id}" (HTTP-PUT) If an existing Person entity has to be deleted, the following relative URL should be called: "/CompanyService/person/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ProgramPerson columns: - column: Person - column: RoleDescription - column: Program The table should have the title "ProgramPersons" und the data must be loaded from the server with the following relative URL: "/ProgramService/programperson/person/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint