Пример #1
0
        private static void SaveHomepageImages(Homepage homepage, IEnumerable <BinaryFile> imageList)
        {
            var count = 0;
            var size  = new Size(168, 124);

            foreach (BinaryFile image in imageList)
            {
                count++;
                HomepageImageManager.SaveHomepageImage(homepage, count, image, size);
            }
        }