public ActionResult Delete(int id, FormCollection collection) { try { proveedorDao.suprimirProveedor(id); return(RedirectToAction("Index")); } catch (MySqlException ex) { return(RedirectToAction("Error", "Proveedor")); } }
public ActionResult Delete(int id, FormCollection collection) { try { proveedorDao.suprimirProveedor(id); return(RedirectToAction("Index")); } catch (MySqlException ex) { return(RedirectToAction("Error", "Proveedor")); } }