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)); }
public async Task <ActionResult <ReminderCommonSetting> > SaveReminderCommonSetting(ReminderCommonSetting ReminderCommonSetting, CancellationToken token) => await reminderCommonSettingProcessor.SaveAsync(ReminderCommonSetting, token);