Esempio n. 1
0
        public BankObjectVersion Document_Create(BankDocument document, string FileFullPath)
        {
            BankDocumentClass bankDocumentClass = new BankDocumentClass();

            return(bankDocumentClass.CreateDocument(document, FileFullPath));
        }
Esempio n. 2
0
        public BankObjectVersion Document_CreateByStream(BankDocument document, string fileName, byte[] fileStream)
        {
            BankDocumentClass bankDocumentClass = new BankDocumentClass();

            return(bankDocumentClass.CreateDocumentByStream(document, fileName, fileStream));
        }
Esempio n. 3
0
 /// <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));
 }