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)); }
public async Task <IEnumerable <ReminderBilling> > GetReminderBillingForSummaryPrint(ReminderSource source, CancellationToken token) => (await reminderProcessor.GetReminderBillingItemsForSummaryPrintAsync(source.CompanyId, source.CustomerIds, token)).ToArray();