public async Task <Products> GetProductsForCategoryAsync(Category category, PagingOptions options) { using (var log = RequestLogger.Current.BeginJungoLog(this)) { try { var uri = Billboard.ResolvePagingOptions(category.Products.Uri, options); var prodResponse = await Client.GetCacheableAsync <ProductsResponse>(uri).ConfigureAwait(false); if (prodResponse == null) { return(null); } var catProds = prodResponse.Products; catProds.Product = (await GetProductsAsync(catProds.Product).ConfigureAwait(false)).ToArray(); return(catProds); } catch (Exception exc) { throw log.LogException(exc); } } }