Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
MenuCategoryView
Please create a React-JS view called "MenuCategoryView" for the fields of the MenuCategory entity. The MenuCategoryView must contain the following fields: - name: Description type: STRING - name: Name type: STRING An existing MenuCategory entity should be loaded from the relative URL: "/GastronomyUnitService/menucategory/{id}" (HTTP-GET) If a new MenuCategory entity has been created, the new entity should be posted to the relative URL: "/GastronomyUnitService/menucategory" (HTTP-POST) If an existing MenuCategory entity has been updated, the modified entity should be sent to the relative URL: "/GastronomyUnitService/menucategory/{id}" (HTTP-PUT) If an existing MenuCategory entity has to be deleted, the following relative URL should be called: "/GastronomyUnitService/menucategory/{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/menucategory/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum