public Workspace GenerateAndSaveWorkspace()
        {
            _workspace = _persistenceStrategy.GetWorkspace();

            WorkspaceManager.BindWorkspace(_workspace);

            _workspace.Model.Enterprise = new Enterprise(ContextBoundName);

            DefaultStyles = WorkspaceManager.CreateDefaultStyles();

            WorkspaceManager.CreateModel();

            ApplyDefaultStyles(_workspace.Views.Configuration.Styles);

            _persistenceStrategy.PersistWorkspace(_workspace);

            return(_workspace);
        }
        public void PersistWorkspace(Workspace workspace)
        {
            WorkspaceManager.CommitChanges();

            _structurizrClient.PutWorkspace(_workSpaceId, workspace);
        }