public override async Task <List <SettingValue> > GetAllAsync(SettingDefinition[] settings) { if (CurrentUser.Id == null) { return(settings.Select(x => new SettingValue(x.Name, null)).ToList()); } return(await SettingStore.GetAllAsync(settings.Select(x => x.Name).ToArray(), Name, CurrentUser.Id.ToString())); }
public override Task <List <SettingValue> > GetAllAsync(SettingDefinition[] settings) { return(SettingStore.GetAllAsync(settings.Select(x => x.Name).ToArray(), Name, null)); }
public override async Task <List <SettingValue> > GetAllAsync(SettingDefinition[] settings) { return(await SettingStore.GetAllAsync(settings.Select(x => x.Name).ToArray(), Name, CurrentTenant.Id?.ToString())); }