public async Task <ReminderBillingResult> GetReminderBillingForReprintByDestinationAsync(string SessionKey, int companyId, ReminderOutputed reminderOutputed) { return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => { var result = (await reminderProcessor.GetReminderBillingItemsForReprintByDestinationAsync(companyId, reminderOutputed, token)).ToList(); return new ReminderBillingResult { ProcessResult = new ProcessResult { Result = true }, ReminderBilling = result, }; }, logger)); }
public async Task <IEnumerable <ReminderBilling> > GetReminderBillingForReprintByDestination(ReminderSource source, CancellationToken token) => (await reminderProcessor.GetReminderBillingItemsForReprintByDestinationAsync(source.CompanyId, source.ReminderOutputed, token)).ToArray();