public void OnGet(string searchString) { CurrentFilter = searchString; if (!string.IsNullOrWhiteSpace(searchString)) { CacheSearchResult = _configurationReader.GetValue <string>(searchString); ConfigurationList = _configurationReader.SearchByName(searchString).Select(a => new Configuration { Type = a.Type, Value = a.Value, IsActive = a.IsActive, Name = a.Name, Id = a.Id }).ToList(); } else { ConfigurationList = _configurationReader.GetAll().Select(a => new Configuration { Type = a.Type, Value = a.Value, IsActive = a.IsActive, Name = a.Name, Id = a.Id }).ToList(); } }