Beispiel #1
0
 public async Task <IEnumerable <BillingInvoice> > GetR(BillingInvoiceSearch option)
 {
     return(await hubContext.DoAsync(option.ConnectionId, async (notifier, token) => {
         var result = (await billingInvoiceProcessor.GetAsync(option, token)).ToArray();
         notifier?.UpdateState();
         return result;
     }));
 }
Beispiel #2
0
 public async Task <ActionResult <IEnumerable <Collation> > > CollateR(CollationSearch option)
 => await hubContext.DoAsync(option.ConnectionId, async (notifier, token) => (await collationProcessor.CollateAsync(option, token, notifier)).ToArray());
Beispiel #3
0
 public async Task <ActionResult <IEnumerable <MatchingHistory> > > GetR(MatchingHistorySearch option)
 => await hubContext.DoAsync(option.ConnectionId, async (notifier, token)
                             => (await matchingHistorySearchProcessor.GetAsync(option, token, notifier)).ToArray());
 public async Task <ActionResult <IEnumerable <CreditAgingList> > > GetR(CreditAgingListSearch option)
 => await hubContext.DoAsync(option.ConnectionId, async (notifier, token)
                             => (await creditAgingListProcessor.GetAsync(option, notifier, token)).ToArray());
 public async Task <IEnumerable <BillingAgingList> > GetR(BillingAgingListSearch option)
 => await hubContext.DoAsync(option.ConnectionId, async (notifier, token)
                             => (await billingAgingListProcessor.GetAsync(option, notifier, token)).ToArray());
Beispiel #6
0
 public async Task <ActionResult <IEnumerable <CustomerLedger> > > GetR(CustomerLedgerSearch option)
 => await hubContext.DoAsync(option.ConnectionId, async (notifier, token)
                             => (await customerLedgerProcessor.GetAsync(option, token, notifier)).ToArray());
 public async Task <ActionResult <IEnumerable <CollectionSchedule> > > GetR(CollectionScheduleSearch option)
 => await hubContext.DoAsync(option.ConnectionId, async (notifier, token)
                             => (await collectionScheduleProcessor.GetAsync(option, token, notifier)).ToArray());