public BankObjectVersion Document_Create(BankDocument document, string FileFullPath) { BankDocumentClass bankDocumentClass = new BankDocumentClass(); return(bankDocumentClass.CreateDocument(document, FileFullPath)); }
public BankObjectVersion Document_CreateByStream(BankDocument document, string fileName, byte[] fileStream) { BankDocumentClass bankDocumentClass = new BankDocumentClass(); return(bankDocumentClass.CreateDocumentByStream(document, fileName, fileStream)); }
/// <summary> /// Gets the bank documents by document identifier. /// </summary> /// <param name="documentId">The document identifier.</param> /// <returns>The file content.</returns> public FileContent GetBankDocumentById(int documentId) { _connection = _connection ?? GetConnection(); return(BankDocument.Download(_appSettingsService.CoreProCulture, documentId, _connection)); }