Esempio n. 1
0
        /// <summary>
        /// Gets all outgoing friend request users
        /// </summary>
        /// <param name="user">user who initiated requests</param>
        /// <returns>list of users</returns>
        public static List <User> OutgoingFriendRequests(int user)
        {
            var tb = DbConnections.OutgoingFriendRequests(user);

            return((from DataRow row in tb.Rows select new User(row)).ToList());
        }