Updated Create Diagram

This commit is contained in:
Kristoffer Juelsenn 2022-03-15 13:40:45 +01:00
parent f3c8e115a4
commit 627deb93c0
1 changed files with 13 additions and 5 deletions

View File

@ -5,14 +5,22 @@ database Server #brown
hide footbox
Admin->Website: createTournament(Tournament)
activate Admin
activate Website
Website->Server: sendInfo(Tournament)
activate Server
Server-->Website: {status: success | failure}
deactivate Server
alt status = success
Website->Server: fetchTournament(Tournament)
Server-->Website: {status: success | failure}
' deactivate Server
Website->Server: fetchInfo(Tournament)
activate Server
Server-->Website: sendInfo(Tournament)
deactivate Server
Website-->Admin: displayTournament(Tournament)
' deactivate Admin
' deactivate Website
end
alt status = failure
Website-->Admin: displayError(error)
end
deactivate Admin
deactivate Website
@enduml