Ejemplo n.º 1
0
        public async Task <ReminderBillingResult> GetReminderBillingForSummaryPrintAsync(string SessionKey, int companyId, int[] customerIds)
        {
            return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
            {
                var result = (await reminderProcessor.GetReminderBillingItemsForSummaryPrintAsync(companyId, customerIds, token)).ToList();

                return new ReminderBillingResult
                {
                    ProcessResult = new ProcessResult {
                        Result = true
                    },
                    ReminderBilling = result,
                };
            }, logger));
        }
Ejemplo n.º 2
0
 public async Task <IEnumerable <ReminderBilling> > GetReminderBillingForSummaryPrint(ReminderSource source, CancellationToken token)
 => (await reminderProcessor.GetReminderBillingItemsForSummaryPrintAsync(source.CompanyId, source.CustomerIds, token)).ToArray();