public List<UserRepresentation> GetBlockedUsers(string userId)
        {
            lock (NetDbLock)
            {
                List<string> userNames = new List<string>();

                userNames = neo4JDB.GetBlockedUsers(userId);

                return GetUserRepresentations(userNames);
            }
        }
예제 #2
0
 public bool BlockedByUser(string myId, string userToViewId)
 {
     return(neo4JDB.GetBlockedUsers(myId).Contains(userToViewId) || neo4JDB.GetBlockedUsers(userToViewId).Contains(myId));
 }