Пример #1
0
 public async Task <ReminderHistoryResult> UpdateReminderHistoryAsync(string SessionKey, ReminderHistory reminderHistory)
 {
     return(await authorizationProcessor.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = await reminderHistoryProcessor.UpdateReminderHistoryAsync(reminderHistory, token);
         return new ReminderHistoryResult
         {
             ProcessResult = new ProcessResult {
                 Result = true
             },
             ReminderHistory = result,
         };
     }, logger));
 }
Пример #2
0
 public async Task <ReminderHistory> UpdateReminderHistory(ReminderHistory reminderHistory, CancellationToken token)
 => await reminderHistoryProcessor.UpdateReminderHistoryAsync(reminderHistory, token);