DocRaptor.Api.DocApi.CreateDocAsync C# (CSharp) Method

CreateDocAsync() public method

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.
return System.Threading.Tasks.Task
        public async System.Threading.Tasks.Task<byte[]> CreateDocAsync (Doc doc)
        {
             ApiResponse<byte[]> localVarResponse = await CreateDocAsyncWithHttpInfo(doc);
             return localVarResponse.Data;

        }