public async void CreateWorkspace() { CreateWorkspacePopUpIsOpen = false; ActivityStatus = String.Format("Your Workspace {0} is being created...", WorkspaceNameToCreate); LoadingActivityStarted(true); var createdWorkspace = await PBIEClient.CreateWorkspace(WorkspaceNameToCreate); if (createdWorkspace != null) { ActivityStatus = "Your workspace has been created"; Workspaces.Add(createdWorkspace); IsWorkspaceResultVisible = false; } else { DisplayMessage("Create new Workspace", "Something went wrong, please try again"); } LoadingActivityStarted(false); }