Пример #1
0
 public ActionResult Edit(Proveedor proveedor)
 {
     try
     {
         proveedorDao.modificarProveedor(proveedor);
         return(RedirectToAction("Index"));
     }
     catch (MySqlException ex)
     {
         return(RedirectToAction("Error", "Proveedor"));
     }
 }