Overview
Summary
Contact
Donate
Imprint
Prompt for the
PromotionMenuItemLinkView
Please create a React-JS view called "PromotionMenuItemLinkView" for the fields of the PromotionMenuItemLink entity. The PromotionMenuItemLinkView must contain the following fields: - name: MenuItem type: MenuItem - name: Promotion type: Promotion The data source for the [MenuItem] select control should be loaded from the relative URL: "/MenuItemService/menuitem" (HTTP-GET) The data source for the [Promotion] select control should be loaded from the relative URL: "/RestaurantService/promotion" (HTTP-GET) An existing PromotionMenuItemLink entity should be loaded from the relative URL: "/MenuItemService/promotionmenuitemlink/{id}" (HTTP-GET) If a new PromotionMenuItemLink entity has been created, the new entity should be posted to the relative URL: "/MenuItemService/promotionmenuitemlink" (HTTP-POST) If an existing PromotionMenuItemLink entity has been updated, the modified entity should be sent to the relative URL: "/MenuItemService/promotionmenuitemlink/{id}" (HTTP-PUT) If an existing PromotionMenuItemLink entity has to be deleted, the following relative URL should be called: "/MenuItemService/promotionmenuitemlink/{id}" (HTTP-DELETE)
Copy prompt
Overview
Summary
Contact
Donate
Imprint