/// <summary> /// checks if 2 users are friends /// </summary> /// <param name="user1">id of user 1</param> /// <param name="user2">id of user 2</param> /// <returns>true if user1 and user2 are friends</returns> public static bool AreFriends(int user1Id, int user2Id) { return(DbConnections.AreFriends(user1Id, user2Id)); }