public ActionResult PersonSummary(string pid)
        {
            // NOTE: This will return one person for the given id.
            string personFound = Http.HttpGet("https://demo.fellowshiponeapi.com/v1/People/" + pid + "?mode=demo");
            XElement xPersonFoundElement =  XElement.Parse(personFound);
            RemoteObjects.People.person remotePerson = DeserializerPerson(xPersonFoundElement);
            PersonModel personModel = PersonModel.Convert(remotePerson);

            string householdID = personModel.HouseholdID;
            string householdPeopleResultsFound = Http.HttpGet("https://demo.fellowshiponeapi.com/v1/People/"
                + "Search?searchFor=fl%2Cni&hsdid=" + householdID + "&mode=demo");

            XDocument xDocument = XDocument.Parse(householdPeopleResultsFound);
            var people = xDocument.Descendants("person");
            PeopleResultsModel householdPeopleResultsModel = new PeopleResultsModel();

            foreach (XElement person in people)
            {
                RemoteObjects.People.person tempPerson = DeserializerPerson(person);
                PersonModel tempPersonModel = PersonModel.Convert(tempPerson);
                householdPeopleResultsModel.AddPerson(tempPersonModel);
            }

            PersonSummaryModel personSummaryModel = new PersonSummaryModel();
            personSummaryModel.PersonModel = personModel;
            personSummaryModel.HouseholdMembers = householdPeopleResultsModel;

            return View("PersonSummary", personSummaryModel);
        }
        public ActionResult PeopleResults()
        {
            string searchedName = Request.Form["SearchBox"].ToString();
            Name name = Name.Parse(searchedName);

            // Search fellowship one api for the name.
            string nameFound;
            if (name.Last != "")
            {
                // Example is Nick Floyd.
                nameFound = Http.HttpGet("https://demo.fellowshiponeapi.com/v1/People/Search?searchFor="
                    + name.First + "%20" + name.Last + "&mode=demo");
            }
            else
            {
                // NOTE: This will find/get people with the first name and/or the last name the same as name.First.
                nameFound = Http.HttpGet("https://demo.fellowshiponeapi.com/v1/People/Search?searchFor="
                    + name.First + "%20&mode=demo");
            }

            PeopleResultsModel peopleResultsModel = new PeopleResultsModel();
            XDocument xDocument = XDocument.Parse(nameFound);
            var people = xDocument.Descendants("person");

            foreach (XElement person in people)
            {
                RemoteObjects.People.person tempPerson = DeserializerPerson(person);
                PersonModel tempPersonModel = PersonModel.Convert(tempPerson);
                peopleResultsModel.AddPerson(tempPersonModel);
            }

            // Pass a PeopleResultsModel object that is created
            // with the results from the fellowshipone api.
            return View("PeopleResults", peopleResultsModel);
        }