DocRaptor.Api.DocApi.CreateDocAsync C# (CSharp) 메소드

CreateDocAsync() 공개 메소드

Creates a document synchronously.
Thrown when fails to make API call
public CreateDocAsync ( Doc doc ) : System.Threading.Tasks.Task
doc Doc The document to be created.
리턴 System.Threading.Tasks.Task
        public async System.Threading.Tasks.Task<byte[]> CreateDocAsync (Doc doc)
        {
             ApiResponse<byte[]> localVarResponse = await CreateDocAsyncWithHttpInfo(doc);
             return localVarResponse.Data;

        }