public IEnumerable <object> GetSearchSettings() { return(SearchSettings.GetAllItems().Select(r => new { id = r.ID, title = r.Title, enabled = r.Enabled })); }
public IEnumerable <object> GetSearchSettings() { TenantExtra.DemandControlPanelPermission(); return(SearchSettings.GetAllItems().Select(r => new { id = r.ID, title = r.Title, enabled = r.Enabled })); }