public ActionResult SCPartners()
        {
            wc.DownloadDataCompleted += new DownloadDataCompletedEventHandler(DownloadCompleted);
            // Loading model into view
            LinkedInModels lim = new LinkedInModels();

            string data = wc.DownloadString("http://www.sitecore.net/partners.aspx");
            int startIndex = data.IndexOf("<ul class=\"partner-links\">");
            data = data.Substring(startIndex, data.Length - (startIndex + 1));
            data = data.Substring(0, data.IndexOf("</ul>") + 5);

            XmlDocument doc = new XmlDocument();
            doc.Load(new StringReader(data));

            XmlNodeList nodes = doc.SelectNodes("//li");
            List<string> partnerList = new List<string>();
            foreach (XmlNode node in nodes)
            {
                string partnerLink = "http://www.sitecore.net/partners/find-partner.aspx?@partnertype={{{0}}}#s=~_d0!2!1!!1!6!0!1!!2!!!2!1!0!_d2!4!764!W.+Europe+Standard+Time!%7B43ECEB4F-C3A3-4328-9BF8-7A1240818CC8%7D!%7B{0}%7D!_d6!HrFrsrErGrsryqIqxpuspvpwpDpBputpvpvpqAqxpuspvpwpCpzputpvpvpqqryqqqrsr!fvf%7C%40partnertype!_d0!3!Partners!_d8!fvf%7C%40country!{0}!_d1!43ECEB4F-C3A3-4328-9BF8-7A1240818CC8!!xqIqtGpypupvppwpupwpvppHpppwpupJpMpNpKpLpBpCpvpzpApDpFppEpqxpyprpqsq!";
                Regex regParterData = new Regex("{(.*)}");
                string partnerGuid = regParterData.Match(node.SelectSingleNode("//a").Attributes.GetNamedItem("href").Value).Value.Replace("{", "").Replace("}", "");
                partnerLink = string.Format(partnerLink, partnerGuid);

                byte[] partnerData = wc.DownloadData(new Uri(partnerLink));

                    Regex re = new Regex(@"<div class=""partner-result"">\s*(.+?)</a>\s*</div>", RegexOptions.Singleline);

                    string temp = System.Text.Encoding.UTF8.GetString(partnerData);

                    int count = re.Matches(System.Text.Encoding.UTF8.GetString(partnerData)).Count;

                    foreach (Match match in re.Matches(System.Text.Encoding.UTF8.GetString(partnerData)))
                    {
                        string tempPartnerData = match.Value;

                        //XmlDocument partnerDoc = new XmlDocument();
                        //Regex rePartner = new Regex("<div class=\"partner-img\">(.*)</div>", RegexOptions.Singleline);
                        //string partnerImage = rePartner.Match(tempPartnerData).Value;
                        //rePartner = new Regex("<div class=\"details\">(.*)</div>", RegexOptions.Singleline);
                        //string partnerDetails = rePartner.Match(tempPartnerData).Value;
                        //rePartner = new Regex("<a(.*)</a>", RegexOptions.Singleline);
                        //string partnerLink = rePartner.Match(tempPartnerData).Value;

                        //string partnerDescription = rePartner.Match(tempPartnerData).Value;
                        if (!partnerList.Contains(tempPartnerData))
                        {
                            partnerList.Add(tempPartnerData);
                        }
                    }
            }
            wc.DownloadDataCompleted -= new DownloadDataCompletedEventHandler(DownloadCompleted);

            List<string> gyutyutyut = partnerList;

            return View("LinkedIn", lim.Person);
        }
 public ActionResult LinkedIn()
 {
     // Loading model into view
     LinkedInModels lim = new LinkedInModels();
     return View("LinkedIn", lim.Person);
 }