public Tuple <bool, string> subscribe(string username, int storeID) { LinkedList <string> users; if (!StoreSubscribers.TryGetValue(storeID, out users)) { users = new LinkedList <string>(); users.AddFirst(username); StoreSubscribers.Add(storeID, users); return(new Tuple <bool, string>(true, "")); } if (users.Contains(username)) { return(new Tuple <bool, string>(true, "User Already Subscribed to this store")); } users.AddFirst(username); StoreSubscribers[storeID] = users; return(new Tuple <bool, string>(true, "")); }