Ejemplo n.º 1
0
 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));
 }
Ejemplo n.º 2
0
 public async Task <ActionResult <ReminderCommonSetting> > GetReminderCommonSetting([FromBody] int CompanyId, CancellationToken token)
 => await reminderCommonSettingProcessor.GetItemAsync(CompanyId, token);