public ActionResult AddProduct(long id, HttpPostedFileBase imageFile)
 {
     if (imageFile != null && imageFile.ContentLength > 0)
     {
         ImageService service = GeneralService.GetImageService();
         service.AddProductImage(id, imageFile);
     }
     else
     {
         ViewBag.ErrorMessage = "Invalid file selected.";
     }
     return(RedirectToAction("Edit", "Product", new { id = id }));
 }