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
hide footbox
alt Edit Tournament
Admin->Website:
end
alt Manage Teams
Admin->Website: manageTeamsButton()
Website-->Admin: redirect(/tournament/id/teams)
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
opt Edit
Admin->Website:
end
opt Delete
end
@ -28,9 +30,12 @@ alt Select Match Winner
activate Server
Server-->Website: updatePartentOf(child:matchID)
deactivate Server
Website-->Admin: displayTournament()
Website-->Admin: displayTournament(Tournament)
end
alt Delete Tournament
Admin->Website:
end
@enduml