private void GetAllPersons()
 {
     using (FixedAssetsWebService.PersonServiceClient Client = new FixedAssetsWebService.PersonServiceClient())
     {
         Client.Open();
         object[] list = Client.GetAllPersons();
         foreach (Person person in list)
         {
             persons.Add(person);
         }
     }
 }
 public static string GetNameAndSurnameByIdWebServiceMethod(int id)
 {
     string name = string.Empty;
     using (FixedAssetsWebService.PersonServiceClient Client = new FixedAssetsWebService.PersonServiceClient())
     {
         Client.Open();
         Person person = Client.GetPersonById(id);
         if (person != null)
         {
             return person.surname + " " + person.name;
         }
         else
         {
             return string.Empty;
         }
     }
 }