Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 public async Task <int> DeleteHistory(ReminderHistory reminderHistory, CancellationToken token)
 => await reminderHistoryProcessor.DeleteHistoryAsync(reminderHistory, token);