Example #1
0
        public void CreateNewImage(HttpPostedFileBase image, int advertisementId)
        {
            var fileName = ImageUpload.InsertImage(image);

            InsertImageToDatabase(advertisementId, fileName);
        }