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