Ejemplo n.º 1
0
 public async Task <ReminderCommonSettingResult> SaveReminderCommonSettingAsync(string SessionKey, ReminderCommonSetting ReminderCommonSetting)
 {
     return(await authorizationProcess.DoAuthorizeAsync(SessionKey, async token =>
     {
         var result = await reminderCommonSettingProcessor.SaveAsync(ReminderCommonSetting, token);
         return new ReminderCommonSettingResult
         {
             ProcessResult = new ProcessResult {
                 Result = true
             },
             ReminderCommonSetting = result,
         };
     }, logger));
 }
Ejemplo n.º 2
0
 public async Task <ActionResult <ReminderCommonSetting> > SaveReminderCommonSetting(ReminderCommonSetting ReminderCommonSetting, CancellationToken token)
 => await reminderCommonSettingProcessor.SaveAsync(ReminderCommonSetting, token);