Beispiel #1
0
 public async Task <BillingInvoiceDetailResult> GetDetailsForPrintAsync(string SessionKey,
                                                                        BillingInvoiceDetailSearch billingInvoiceDetailSearch)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = (await billingInvoiceProcessor.GetDetailsForPrintAsync(billingInvoiceDetailSearch, token)).ToList();
         return new BillingInvoiceDetailResult
         {
             ProcessResult = new ProcessResult {
                 Result = true
             },
             BillingInvoicesDetails = result,
         };
     }, logger));
 }
Beispiel #2
0
 public async Task <IEnumerable <BillingInvoiceDetailForPrint> > GetDetailsForPrint(
     BillingInvoiceDetailSearch option, CancellationToken token)
 => (await billingInvoiceProcessor.GetDetailsForPrintAsync(option, token)).ToArray();