public ActionResult Edit(Product product) { try { // TODO: Add update logic here client.EditProduct(product); return(RedirectToAction("Index")); } catch { return(View()); } }
public ActionResult Edit(Product product) { try { // TODO: Add update logic here client.EditProduct(product); return(RedirectToAction("Index")); } catch { return(View()); } }