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)); }
public async Task <int> UpdatePublishAtR(BillingInvoiceSearch option) => await hubContext.DoAsync(option.ConnectionId, async (notifier, token) => (await billingInvoiceProcessor.UpdatePublishAtAsync(option.BillingInputIds, token)).Count);