コード例 #1
0
ファイル: ReceiptService.svc.cs プロジェクト: fwka1605/next
 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));
 }
コード例 #2
0
 public async Task <IEnumerable <ReceiptSectionTransfer> > UpdateReceiptSectionTransferPrintFlag([FromBody] int companyId)
 => (await receiptSectionTransferProcessor.UpdateReceiptSectionTransferPrintFlagAsync(companyId)).ToArray();