Example #1
0
 public async Task <BillingAgingListDetailsResult> GetDetailsAsync(string SessionKey, BillingAgingListSearch searchOption)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = await billingAgingListProcessor.GetDetailsAsync(searchOption, token);
         return new BillingAgingListDetailsResult
         {
             ProcessResult = new ProcessResult {
                 Result = true,
             },
             BillingAgingListDetails = new List <BillingAgingListDetail>(result),
         };
     }, logger));
 }
 public async Task <IEnumerable <BillingAgingListDetail> > GetDetailsAsync(BillingAgingListSearch option, CancellationToken token)
 => (await billingAgingListProcessor.GetDetailsAsync(option, token)).ToArray();