Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
GastronomyUnitView
Please create a React-JS view called "GastronomyUnitView" for the fields of the GastronomyUnit entity. The GastronomyUnitView must contain the following fields: - name: Description type: STRING - name: Name type: STRING - name: OpeningHours type: STRING - name: Type type: STRING - name: VenueArea type: VenueArea The data source for the [VenueArea] select control should be loaded from the relative URL: "/VenueAreaService/venuearea" (HTTP-GET) An existing GastronomyUnit entity should be loaded from the relative URL: "/GastronomyUnitService/gastronomyunit/{id}" (HTTP-GET) If a new GastronomyUnit entity has been created, the new entity should be posted to the relative URL: "/GastronomyUnitService/gastronomyunit" (HTTP-POST) If an existing GastronomyUnit entity has been updated, the modified entity should be sent to the relative URL: "/GastronomyUnitService/gastronomyunit/{id}" (HTTP-PUT) If an existing GastronomyUnit entity has to be deleted, the following relative URL should be called: "/GastronomyUnitService/gastronomyunit/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MenuItem columns: - column: Description - column: MenuCategory - column: GastronomyUnit - column: IsVegan - column: IsVegetarian - column: IsAlcoholic - column: Price - column: Name The table should have the title "MenuItems" und the data must be loaded from the server with the following relative URL: "/GastronomyUnitService/menuitem/gastronomyunit/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum