コード例 #1
0
ファイル: ReceiptService.svc.cs プロジェクト: fwka1605/next
 public async Task <VoidResult> CancelAdvanceReceivedDataSplitAsync(string SessionKey, int CompanyId, int LoginUserId, int CurrencyId, long OriginalReceiptId)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         await advanceReceivedSplitProcessor.CancelAsync(new AdvanceReceivedSplitSource {
             CompanyId = CompanyId,
             CurrencyId = CurrencyId,
             LoginUserId = LoginUserId,
             OriginalReceiptId = OriginalReceiptId,
         }, token);
         return new VoidResult
         {
             ProcessResult = new ProcessResult {
                 Result = true
             },
         };
     }, logger));
 }
コード例 #2
0
 public async Task <int> CancelAdvanceReceivedDataSplit(AdvanceReceivedSplitSource source, CancellationToken token)
 => await advanceReceivedSplitProcessor.CancelAsync(source, token);