public async Task <ReminderCommonSettingResult> GetReminderCommonSettingAsync(string SessionKey, int CompanyId) { return(await authorizationProcess.DoAuthorizeAsync(SessionKey, async token => { var result = await reminderCommonSettingProcessor.GetItemAsync(CompanyId, token); return new ReminderCommonSettingResult { ProcessResult = new ProcessResult { Result = true }, ReminderCommonSetting = result, }; }, logger)); }
public async Task <ActionResult <ReminderCommonSetting> > GetReminderCommonSetting([FromBody] int CompanyId, CancellationToken token) => await reminderCommonSettingProcessor.GetItemAsync(CompanyId, token);