Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
BillOfFareView
Please create a React-JS view called "BillOfFareView" for the fields of the BillOfFare entity. The BillOfFareView must contain the following fields: - name: BillOfFareDate type: DATE - name: Canteen type: Canteen The data source for the [Canteen] select control should be loaded from the relative URL: "/CanteenService/canteen" (HTTP-GET) An existing BillOfFare entity should be loaded from the relative URL: "/CanteenService/billoffare/{id}" (HTTP-GET) If a new BillOfFare entity has been created, the new entity should be posted to the relative URL: "/CanteenService/billoffare" (HTTP-POST) If an existing BillOfFare entity has been updated, the modified entity should be sent to the relative URL: "/CanteenService/billoffare/{id}" (HTTP-PUT) If an existing BillOfFare entity has to be deleted, the following relative URL should be called: "/CanteenService/billoffare/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Food columns: - column: BillOfFare - column: Ingredient - column: SellingPrice - column: FoodName The table should have the title "Foods" und the data must be loaded from the server with the following relative URL: "/FoodService/food/billoffare/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum