Пример #1
0
 public ActionResult EditProduct(ISPProductViewModel model, HttpPostedFileBase upload)
 {
     repo.EditProduct(model.ISPProduct, upload);
     return(RedirectToAction("Products", new { ispId = model.ISPId }));
 }
Пример #2
0
 public void EditProduct(ISPProduct model, HttpPostedFileBase upload)
 {
     ispRepo.EditProduct(model, upload);
 }