added some elements to manage diagram

This commit is contained in:
Kristoffer Juelsenn 2022-03-16 12:17:23 +01:00
parent d162ecbc45
commit 44f1312ee7
1 changed files with 14 additions and 9 deletions

View File

@ -5,18 +5,20 @@ participant Website
database Server #brown database Server #brown
hide footbox hide footbox
alt Edit Tournament
Admin->Website:
end
alt Manage Teams alt Manage Teams
Admin->Website: manageTeamsButton() Admin->Website: manageTeamsButton()
Website-->Admin: redirect(/tournament/id/teams) Website-->Admin: redirect(/tournament/id/teams)
opt Add opt Add
Admin->Website: addTeam(name,users)
opt Error
Website-->Admin: displayError(error)
end
Website->Server: addTeam(id,name,users)
Server-->Website: postTeam(team)
Website-->Admin: updateTeamList(team)
end end
opt Edit opt Edit
Admin->Website:
end end
opt Delete opt Delete
end end
@ -28,9 +30,12 @@ alt Select Match Winner
activate Server activate Server
Server-->Website: updatePartentOf(child:matchID) Server-->Website: updatePartentOf(child:matchID)
deactivate Server deactivate Server
Website-->Admin: displayTournament() Website-->Admin: displayTournament(Tournament)
end
alt Delete Tournament
Admin->Website:
end end
@enduml @enduml