private void modificarAbout() { AboutBE aboutBE = new AboutBE(); HomePageBL homePageBL = new HomePageBL(); try { aboutBE.IdAbout = Convert.ToInt32(txtId.Text); aboutBE.Titulo = txtTitulo.Text; aboutBE.Descripcion = txtDesc.Text; aboutBE.Logo = subirImagen(); aboutBE.ImagenFondo = subirImagenBg(); homePageBL.updateAbout(aboutBE); } catch (Exception ex) { ClientScript.RegisterStartupScript(this.GetType(), "randomtext", "alertError('" + ex.Message + "')", true); } finally { ClientScript.RegisterStartupScript(this.GetType(), "randomtext", "alertUpdateSuccess('Se modifico con exito')", true); limpiarCamposAbout(); } }