private void UpdateStates() { if (SelectedProject != null) { CanJoinProject = true; CanCreateProject = false; return; } if (_projectManagerService.IsValidName(_searchString)) { CanJoinProject = false; CanCreateProject = true; return; } }
private void UpdateStates() { if (SelectedProject != null) { CanJoinProject = true; CanCreateProject = false; return; } if (_projectManagerService.IsValidName(_searchString)) { CanJoinProject = false; CanCreateProject = true; return; } }