Dotnet

var content = repository.CreateContent("/Root/Content", "Workspace", "My workspace");
await content.SaveAsync(cancel);