Overview
Summary
Contact
Donate
Imprint
Prompt for the
ServerMemberView
Please create a React-JS view called "ServerMemberView" for the fields of the ServerMember entity. The ServerMemberView must contain the following fields: - name: IsBanned type: BOOL - name: IsMuted type: BOOL - name: JoinedAt type: DATE - name: Nickname type: STRING - name: Server type: Server - name: User type: UserAccount The data source for the [User] select control should be loaded from the relative URL: "/UserAccountService/useraccount" (HTTP-GET) The data source for the [Server] select control should be loaded from the relative URL: "/UserAccountService/server" (HTTP-GET) An existing ServerMember entity should be loaded from the relative URL: "/ServerMemberService/servermember/{id}" (HTTP-GET) If a new ServerMember entity has been created, the new entity should be posted to the relative URL: "/ServerMemberService/servermember" (HTTP-POST) If an existing ServerMember entity has been updated, the modified entity should be sent to the relative URL: "/ServerMemberService/servermember/{id}" (HTTP-PUT) If an existing ServerMember entity has to be deleted, the following relative URL should be called: "/ServerMemberService/servermember/{id}" (HTTP-DELETE) Add a HTML table to the view with the following MemberRole columns: - column: ServerMember - column: Role - column: AssignedAt The table should have the title "MemberRoles" und the data must be loaded from the server with the following relative URL: "/ServerMemberService/memberrole/servermember/{id}"
Copy prompt
Overview
Summary
Contact
Donate
Imprint