public int AltaDestino(string idDestino, int prefijoRed, string idRecurso, int grupo, string numero) { CD30BD s = new CD30BD(); int retorno = s.AltaDestino(idDestino.Substring(0, idDestino.Length > 8 ? 8 : idDestino.Length), prefijoRed, idRecurso.Length > 0 ? (idRecurso.Substring(0, idRecurso.Length > 8 ? 8 : idRecurso.Length)) : "", grupo, numero); s.CloseDB(); return(retorno); }