public async Task <List <StorefrontItem> > GetStorefront( int take = 5) { List <StorefrontItem> storefrontResult = await _httpClientService.Client().GetAsync <List <StorefrontItem> >("/storefront").ConfigureAwait(false); storefrontResult = storefrontResult.Take(take).ToList(); for (int i = 1; i <= take; i++) { _cache.Set(i.ToString(), storefrontResult[i - 1]); } return(storefrontResult); }