public string[] GetSoloists(string prefixText, int count) { ICacheManager CacheManager = CacheFactory.GetCacheManager(); String key = Constants.Artist.EntityName; var soloists = CacheManager.GetData(key) as List <ArchiveAutocomplete.AutoCompleteKeyValue>; if (soloists == null) { soloists = ArchiveAutocomplete.GetDistinctSoloists(); CacheManager.Add(key, soloists); } var items = BuildAutoCompleteItemList(soloists, prefixText); return(items.ToArray()); }