public async Task <CountResult> DeleteHistoryAsync(string SessionKey, ReminderHistory reminderHistory) { return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token => { var result = await reminderHistoryProcessor.DeleteHistoryAsync(reminderHistory, token); return new CountResult { ProcessResult = new ProcessResult { Result = true }, Count = result, }; }, logger)); }
public async Task <int> DeleteHistory(ReminderHistory reminderHistory, CancellationToken token) => await reminderHistoryProcessor.DeleteHistoryAsync(reminderHistory, token);