private void GetNotification(IClient c) { foreach (IClient friend in c.Friends) { if (db.GotMessage(friend.ID, c.ID)) { c.AddNotification(friend.ID, true); } } }
private void GetNotification(IClient c) { foreach (IClient friend in c.Friends) if (db.GotMessage(friend.ID, c.ID)) c.AddNotification(friend.ID, true); }