public int Borrar(int IdProducto) { try { return(cdProductos.BorrarPorId(IdProducto)); } catch (Exception er) { throw new Exception(er.Message); } }