public async Task <IEnumerable <SelectListItem> > GetColors() { return(await _cache.GetOrCreateAsync(CacheHelpers.GenerateColorsCacheKey(), async entry => { entry.SlidingExpiration = CacheHelpers.DefaultCacheDuration; return await _catalogViewModelService.GetColors(); })); }