Overview
Summary
Contact
Donate
Imprint
Prompt for the
SeasonView
Please create a React-JS view called "SeasonView" for the fields of the Season entity. The SeasonView must contain the following fields: - name: ContentTitle type: ContentTitle - name: EpisodeCount type: LONG - name: ReleaseDate type: DATE - name: SeasonNumber type: LONG The data source for the [ContentTitle] select control should be loaded from the relative URL: "/ContentTitleService/contenttitle" (HTTP-GET) An existing Season entity should be loaded from the relative URL: "/SeasonService/season/{id}" (HTTP-GET) If a new Season entity has been created, the new entity should be posted to the relative URL: "/SeasonService/season" (HTTP-POST) If an existing Season entity has been updated, the modified entity should be sent to the relative URL: "/SeasonService/season/{id}" (HTTP-PUT) If an existing Season entity has to be deleted, the following relative URL should be called: "/SeasonService/season/{id}" (HTTP-DELETE) Add a HTML table to the view with the following Episode columns: - column: Synopsis - column: Title - column: ContentTitle - column: RuntimeMinutes - column: Season - column: EpisodeNumber - column: ReleaseDate The table should have the title "Episodes" und the data must be loaded from the server with the following relative URL: "/SeasonService/episode/season/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint