Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum
Prompt for the
SportsTeamView
Please create a React-JS view called "SportsTeamView" for the fields of the SportsTeam entity. The SportsTeamView must contain the following fields: - name: City type: STRING - name: Country type: STRING - name: HomeArena type: Arena - name: IsHomeTeam type: BOOL - name: Name type: STRING - name: ShortName type: STRING - name: WebsiteUrl type: STRING The data source for the [HomeArena] select control should be loaded from the relative URL: "/ArenaService/arena" (HTTP-GET) An existing SportsTeam entity should be loaded from the relative URL: "/ArenaService/sportsteam/{id}" (HTTP-GET) If a new SportsTeam entity has been created, the new entity should be posted to the relative URL: "/ArenaService/sportsteam" (HTTP-POST) If an existing SportsTeam entity has been updated, the modified entity should be sent to the relative URL: "/ArenaService/sportsteam/{id}" (HTTP-PUT) If an existing SportsTeam entity has to be deleted, the following relative URL should be called: "/ArenaService/sportsteam/{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/hometeam/{id}" 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/awayteam/{id}"
Copy prompt
Overview
My API
System Designs
Dienstleistungen
Kontakt
Energieausgleich
Ansprechpartner
Impressum