Пример #1
0
        private string[] GetProductsStores(Product[] products)
        {
            string[] stores = new string[products.Length];
            for (int i = 0; i < products.Length; i++)
            {
                string storeId = _storeLogic.GetStoreByProductId(products[i].SystemId);
                stores[i] = _storeLogic.GetStorebyID(storeId).Name;
            }

            return(stores);
        }