private void InitAllServices() { if (Sets != null && Sets.Count > 0) { foreach (var key in Sets.Keys) { foreach (var api in Sets[key]) { if (!AllServices.Any(a => a.ID == api.ID)) { AllServices.Add(api); } } } } }