Overview
Summary
Contact
Donate
Imprint
Prompt for the
AmenityView
Please create a React-JS view called "AmenityView" for the fields of the Amenity entity. The AmenityView must contain the following fields: - name: Category type: STRING - name: Name type: STRING An existing Amenity entity should be loaded from the relative URL: "/AmenityService/amenity/{id}" (HTTP-GET) If a new Amenity entity has been created, the new entity should be posted to the relative URL: "/AmenityService/amenity" (HTTP-POST) If an existing Amenity entity has been updated, the modified entity should be sent to the relative URL: "/AmenityService/amenity/{id}" (HTTP-PUT) If an existing Amenity entity has to be deleted, the following relative URL should be called: "/AmenityService/amenity/{id}" (HTTP-DELETE) Add a HTML table to the view with the following ListingAmenity columns: - column: Listing - column: Amenity The table should have the title "ListingAmenitys" und the data must be loaded from the server with the following relative URL: "/AmenityService/listingamenity/amenity/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint