Beispiel #1
0
 public async Task <ExistResult> ExistOriginalReceiptAsync(string SessionKey, long ReceiptId)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = await receiptProcessor.ExistOriginalReceiptAsync(ReceiptId, token);
         return new ExistResult
         {
             ProcessResult = new ProcessResult {
                 Result = true
             },
             Exist = result,
         };
     }, logger));
 }
Beispiel #2
0
 public async Task <bool> ExistOriginalReceipt([FromBody] long ReceiptId, CancellationToken token)
 => await receiptProcessor.ExistOriginalReceiptAsync(ReceiptId, token);