public ActionResult Agregar(string nombre, string contacto, string telefono, string correo) { ProveedorVO proVO = new ProveedorVO(0, nombre, contacto, telefono, correo); if (proDAO.AgregarProveedor(proVO)) { return(Json("true", JsonRequestBehavior.AllowGet)); } return(Json("false", JsonRequestBehavior.AllowGet)); }