Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SportsLeagueView
Please create a React-JS view called "SportsLeagueView" for the fields of the SportsLeague entity. The SportsLeagueView must contain the following fields: - name: Country type: STRING - name: Level type: STRING - name: Name type: STRING - name: Sport type: STRING An existing SportsLeague entity should be loaded from the relative URL: "/ArenaService/sportsleague/{id}" (HTTP-GET) If a new SportsLeague entity has been created, the new entity should be posted to the relative URL: "/ArenaService/sportsleague" (HTTP-POST) If an existing SportsLeague entity has been updated, the modified entity should be sent to the relative URL: "/ArenaService/sportsleague/{id}" (HTTP-PUT) If an existing SportsLeague entity has to be deleted, the following relative URL should be called: "/ArenaService/sportsleague/{id}" (HTTP-DELETE) Add a HTML table to the view with the following SportsMatch columns: - column: League - column: Notes - column: IsPenalty - column: HomeScore - column: MatchDay - column: HomeTeam - column: AwayTeam - column: AwayScore - column: IsOvertime - column: Event The table should have the title "SportsMatchs" und the data must be loaded from the server with the following relative URL: "/ArenaService/sportsmatch/league/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum