Пример #1
0
        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));
        }
Пример #2
0
 public async Task <IEnumerable <ReminderBilling> > GetReminderBillingForSummaryPrintByDestinationCode(IEnumerable <ReminderSummary> reminderSummaries, CancellationToken token)
 => (await reminderProcessor.GetReminderBillingItemsForSummaryPrintByDestinationCodeAsync(reminderSummaries, token)).ToArray();