Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
LibraryView
Please create a React-JS view called "LibraryView" for the fields of the Library entity. The LibraryView must contain the following fields: - name: LibraryName type: STRING - name: Room type: Room The data source for the [Room] select control should be loaded from the relative URL: "/RoomService/room" (HTTP-GET) An existing Library entity should be loaded from the relative URL: "/LibraryService/library/{id}" (HTTP-GET) If a new Library entity has been created, the new entity should be posted to the relative URL: "/LibraryService/library" (HTTP-POST) If an existing Library entity has been updated, the modified entity should be sent to the relative URL: "/LibraryService/library/{id}" (HTTP-PUT) If an existing Library entity has to be deleted, the following relative URL should be called: "/LibraryService/library/{id}" (HTTP-DELETE) Add a HTML table to the view with the following BookRental columns: - column: Student - column: Library - column: FromDate - column: Teacher - column: ReservationDate - column: Book - column: ToDate The table should have the title "BookRentals" und the data must be loaded from the server with the following relative URL: "/LibraryService/bookrental/library/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum