void ImportPackage() { var uidList = GetFlyContentBeanList() .Where(b => b.isSelected) .Select(b => b.uid) .ToList(); var list = settings .GetAllServersList() .Where(s => uidList.Contains(s.GetUid())) .ToList(); settings.ImportPackage(list); }
void ImportPackage() { var uidList = GetFlyContentBeanList() .Where(b => b.isSelected) .Select(b => b.uid) .ToList(); var list = settings .GetAllServersList() .Where(s => uidList.Contains(s.GetUid())) .ToList(); settings.ImportPackage(list); }