public async Task <ReminderBillingResult> GetReminderBillingForSummaryPrintByDestinationCodeAsync(string SessionKey, IEnumerable <ReminderSummary> reminderSummaries) { return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => { var result = (await reminderProcessor.GetReminderBillingItemsForSummaryPrintByDestinationCodeAsync(reminderSummaries, token)).ToList(); return new ReminderBillingResult { ProcessResult = new ProcessResult { Result = true }, ReminderBilling = result, }; }, logger)); }
public async Task <IEnumerable <ReminderBilling> > GetReminderBillingForSummaryPrintByDestinationCode(IEnumerable <ReminderSummary> reminderSummaries, CancellationToken token) => (await reminderProcessor.GetReminderBillingItemsForSummaryPrintByDestinationCodeAsync(reminderSummaries, token)).ToArray();