Updated Manage Diagram
This commit is contained in:
parent
1ee2531be0
commit
16c7fc5f12
|
@ -1,16 +0,0 @@
|
||||||
@startuml Edit Tournament
|
|
||||||
title Edit Tournament
|
|
||||||
Actor Admin #palegreen
|
|
||||||
participant Website
|
|
||||||
database Server #brown
|
|
||||||
hide footbox
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
alt Manage Tournament
|
|
||||||
end
|
|
||||||
|
|
||||||
alt Manage Teams
|
|
||||||
end
|
|
||||||
|
|
||||||
@enduml
|
|
|
@ -0,0 +1,36 @@
|
||||||
|
@startuml Manage Tournament
|
||||||
|
title Manage Tournament
|
||||||
|
Actor Admin #palegreen
|
||||||
|
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
|
||||||
|
end
|
||||||
|
opt Edit
|
||||||
|
end
|
||||||
|
opt Delete
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
alt Select Match Winner
|
||||||
|
Admin->Website: chooseWinner(match,team)
|
||||||
|
Website->Server: updateMatch(id:matchID,winner:teamID)
|
||||||
|
activate Server
|
||||||
|
Server-->Website: updatePartentOf(child:matchID)
|
||||||
|
deactivate Server
|
||||||
|
Website-->Admin: displayTournament()
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@enduml
|
Loading…
Reference in New Issue