public static bool ModificarRedSocial(string id, string nombre, string url, string icono, bool status) { HomePageBL homePageBL = new HomePageBL(); bool ok = false; if (id == "") { ok = false; } else { RedSocialBE objRS = new RedSocialBE { IdRedSocial = Convert.ToInt32(id), Nombre = nombre, Url = url, IdIcono = Convert.ToInt32(icono), Activo = status }; ok = homePageBL.updateRS(objRS); } return(ok); }