Beispiel #1
0
        private static void SaveImage(HttpPostedFileBase image, Guid productUid, string imageName)
        {
            if (image == null)
            {
                return;
            }

            var fullPath = GetImageFullPath(productUid, imageName);

            image.EnsureSave(fullPath);
        }