Beispiel #1
0
		/// <summary>
		/// Creates a new document folder.
		/// </summary>
		public async Task<ServiceResult<ApiDocumentFolder>> PostDocumentFolderAsync(int folderId, ApiDocumentFolder apiDocumentFolder)
		{
			var request = new Request(baseAddress, "document-folders/{folderId}", 
			new Dictionary<string, object>
			{
				{ "folderId", folderId },
			});
			return await PostAsync<ApiDocumentFolder>(request, apiDocumentFolder);
		}
Beispiel #2
0
		/// <summary>
		/// Creates a new document folder.
		/// </summary>
		public ServiceResult<ApiDocumentFolder> PostDocumentFolder(int folderId, ApiDocumentFolder apiDocumentFolder)
		{
			return PostDocumentFolderAsync(folderId, apiDocumentFolder).Result;
		}