Esempio n. 1
0
 public async Task <ReceiptSectionTransfersResult> GetReceiptSectionTransferForPrintAsync(string SessionKey, int CompanyId)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = (await receiptSectionTransferProcessor.GetReceiptSectionTransferForPrintAsync(CompanyId, token)).ToList();
         return new ReceiptSectionTransfersResult
         {
             ProcessResult = new ProcessResult {
                 Result = true
             },
             ReceiptSectionTransfers = result,
         };
     }, logger));
 }
Esempio n. 2
0
 public async Task <IEnumerable <ReceiptSectionTransfer> > GetReceiptSectionTransferForPrint([FromBody] int companyId)
 => (await receiptSectionTransferProcessor.GetReceiptSectionTransferForPrintAsync(companyId)).ToArray();