Overview
Summary
Contact
Donate
Imprint
Prompt for the
MenuSectionView
Please create a React-JS view called "MenuSectionView" for the fields of the MenuSection entity. The MenuSectionView must contain the following fields: - name: Description type: STRING - name: Menu type: Menu - name: Name type: STRING - name: SortOrder type: LONG The data source for the [Menu] select control should be loaded from the relative URL: "/RestaurantService/menu" (HTTP-GET) An existing MenuSection entity should be loaded from the relative URL: "/MenuItemService/menusection/{id}" (HTTP-GET) If a new MenuSection entity has been created, the new entity should be posted to the relative URL: "/MenuItemService/menusection" (HTTP-POST) If an existing MenuSection entity has been updated, the modified entity should be sent to the relative URL: "/MenuItemService/menusection/{id}" (HTTP-PUT) If an existing MenuSection entity has to be deleted, the following relative URL should be called: "/MenuItemService/menusection/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MenuItem columns: - column: Name - column: IsHalal - column: ImageUrl - column: BasePrice - column: IsSpicy - column: IsVegetarian - column: MenuSection - column: IsAvailable - column: SortOrder - column: Description - column: IsVegan The table should have the title "MenuItems" und the data must be loaded from the server with the following relative URL: "/MenuItemService/menuitem/menusection/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint