public async Task <ReminderSummaryHistoryResult> UpdateReminderSummaryHistoryAsync(string SessionKey, ReminderSummaryHistory reminderSummaryHistory) { return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => { var result = await reminderHistoryProcessor.UpdateReminderSummaryHistoryAsync(reminderSummaryHistory, token); return new ReminderSummaryHistoryResult { ProcessResult = new ProcessResult { Result = true }, ReminderSummaryHistory = result, }; }, logger)); }
public async Task <ReminderSummaryHistory> UpdateReminderSummaryHistory(ReminderSummaryHistory reminderSummaryHistory, CancellationToken token) => await reminderHistoryProcessor.UpdateReminderSummaryHistoryAsync(reminderSummaryHistory, token);