Esempio n. 1
0
 public ActionResult EditProduct(ISPProductViewModel model, HttpPostedFileBase upload)
 {
     repo.EditProduct(model.ISPProduct, upload);
     return(RedirectToAction("Products", new { ispId = model.ISPId }));
 }
Esempio n. 2
0
 public void EditProduct(ISPProduct model, HttpPostedFileBase upload)
 {
     ispRepo.EditProduct(model, upload);
 }