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