Exemple #1
0
 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));
 }
Exemple #2
0
 public async Task <int> CancelAdvanceReceivedDataSplit(AdvanceReceivedSplitSource source, CancellationToken token)
 => await advanceReceivedSplitProcessor.CancelAsync(source, token);