public IEnumerable <Proxy> GetRandomProxy(string region, string country, int hoursSinceTest) { var proxies = _services.GetProxies(region, country, hoursSinceTest); foreach (var proxy in proxies) { yield return(proxy); } }
public IEnumerable <Proxy> GetProxies(bool working, string region, string country, int hoursSinceTest, int score) { var proxies = _services.GetProxies(working, region, country, hoursSinceTest, score);//.Take(64); foreach (var proxy in proxies) { yield return(proxy); } }