Example #1
0
        public void AddFriendRequest(FriendRequest fr)
        {
            string id = fr.ID;

            try
            {
                requests.Add(id, fr);
            }
            catch (ArgumentException)
            {
                //duplicated request
            }
        }
Example #2
0
 public void RemoveFriendRequest(FriendRequest fr)
 {
     requests.Remove(fr.ID);
 }