public bool ValidarNombre(string username) { if (repository.ValidarNombre(Util.Encrypt.Encriptar(username, (int)TipoEncriptacion.Reversible)) != 0) { return(false); } return(true); }