public ActionResult Index(PersonAddressModel model)
 {
     var client = new PersonServiceClient();
     var persons = client.GetPersons(1, model.City, model.Province, model.Country, model.Name).ToList();
     model.Items = persons;
     return View(model);
 }
        public ActionResult Index(string id)
        {
            var model = new PersonAddressModel();
            if (!string.IsNullOrEmpty(id))
            {
                var personID = int.Parse(id);
                if (personID > 0)
                {
                    var client = new PersonServiceClient();
                    var addresses = client.GetAddressesByPersonID(personID).ToList();
                    model.Items = addresses;
                }
            }

            return View(model);
        }