private void _view_SatrtSearchClick(object sender, EventArgs e) { string site = _view.Site; List <string> shops = _parser.FindShops(site); _view.SetCountOfFoundShops(shops.Count); _view.AddMessageLog(shops.Aggregate((i, j) => i + "\n" + j)); }
private void _view_SatrtSearchClick(object sender, EventArgs e) { string site = _view.Site; List <string> shops = _parser.FindShops(site); _view.SetCountOfFoundShops(shops.Count); _view.AddMessageLog(shops.Aggregate((i, j) => i + "\n" + j)); }