Exemplo n.º 1
0
 public async Task <CountResult> UpdatePublishAtAsync(string SessionKey,
                                                      string connectionId,
                                                      long[] BilinngInputIds)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = await billingInvoiceProcessor.UpdatePublishAtAsync(BilinngInputIds, token);
         return result;
     }, logger, connectionId));
 }
Exemplo n.º 2
0
 public async Task <int> UpdatePublishAtR(BillingInvoiceSearch option)
 => await hubContext.DoAsync(option.ConnectionId, async (notifier, token)
                             => (await billingInvoiceProcessor.UpdatePublishAtAsync(option.BillingInputIds, token)).Count);