Create Tournament screen is wired up an is functioning
This commit is contained in:
@ -133,6 +133,12 @@ namespace TrackerWPFUI.ViewModels
|
||||
SelectedTeamMembersIsVisible = false;
|
||||
AddPersonIsVisible = true;
|
||||
}
|
||||
|
||||
public void CancelCreation()
|
||||
{
|
||||
EventAggregationProvider.TrackerEventAggregator.PublishOnUIThread(new TeamModel());
|
||||
this.TryClose();
|
||||
}
|
||||
public bool CanCreateTeam
|
||||
{
|
||||
get
|
||||
@ -163,7 +169,8 @@ namespace TrackerWPFUI.ViewModels
|
||||
|
||||
GlobalConfig.Connection.CreateTeam(t);
|
||||
|
||||
//TODO - Pass the team back to the parent and close the form
|
||||
EventAggregationProvider.TrackerEventAggregator.PublishOnUIThread(t);
|
||||
this.TryClose();
|
||||
}
|
||||
|
||||
public void Handle(PersonModel message)
|
||||
|
||||
Reference in New Issue
Block a user