public async Task <ActionResult <ShoppingModel> > GetShopping(string userName) { var basket = await _basketService.GetBasket(userName); basket.Items.ForEach(async item => { var product = await _catalogService.GeCatalog(item.ProductId); item.Category = product.Category; item.Summary = product.Summary; item.Description = product.Description; item.ImageFile = product.ImageFile; }); var orders = await _orderService.GetOrdersByUserName(userName); return(new ShoppingModel { UserName = userName, BasketWithProducts = basket, Orders = orders }); }