public void CreateNewImage(HttpPostedFileBase image, int advertisementId) { var fileName = ImageUpload.InsertImage(image); InsertImageToDatabase(advertisementId, fileName); }