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