public override async Task <string> GetOrNullAsync(SettingDefinition setting)
        {
            if (CurrentUser.Id == null)
            {
                return(null);
            }

            return(await SettingStore.GetOrNullAsync(setting.Name, Name, CurrentUser.Id.ToString()));
        }
 public override Task <string> GetOrNullAsync(SettingDefinition setting)
 {
     return(SettingStore.GetOrNullAsync(setting.Name, Name, null));
 }
Exemple #3
0
 public override async Task <string> GetOrNullAsync(SettingDefinition setting)
 {
     return(await SettingStore.GetOrNullAsync(setting.Name, Name, CurrentTenant.Id?.ToString()));
 }