Esempio n. 1
0
        public static void BorrarImagen(int product_id, ImageSlider slider, List <long> ids)
        {
            ImageFactory IF = new ImageFactory(_BaseUrl, _Account, _Password);

            IF.DeleteProductImage(product_id, ids[slider.CurrentImageIndex]);
            int index = slider.CurrentImageIndex;

            slider.Images.RemoveAt(index);
            ids.RemoveAt(index);
        }