Ejemplo n.º 1
0
        public List <string> GetProductPicture(long id)          //get ProductPicture
        {
            var pictureList = new List <string>();
            var modelPP     = _productDA.GetProductPicture(id);

            foreach (var pic in modelPP)
            {
                pictureList.Add(pic.PicturePath);
            }

            return(pictureList);
        }