public EditWorkerByIdRequestBody(int id, string surname, string name, AsmxClient.AsmxWorkerService.Address address, string phone, string position, int unitId, string head)
 {
     this.id       = id;
     this.surname  = surname;
     this.name     = name;
     this.address  = address;
     this.phone    = phone;
     this.position = position;
     this.unitId   = unitId;
     this.head     = head;
 }
 public void EditWorkerById(int id, string surname, string name, AsmxClient.AsmxWorkerService.Address address, string phone, string position, int unitId, string head)
 {
     AsmxClient.AsmxWorkerService.EditWorkerByIdRequest inValue = new AsmxClient.AsmxWorkerService.EditWorkerByIdRequest();
     inValue.Body          = new AsmxClient.AsmxWorkerService.EditWorkerByIdRequestBody();
     inValue.Body.id       = id;
     inValue.Body.surname  = surname;
     inValue.Body.name     = name;
     inValue.Body.address  = address;
     inValue.Body.phone    = phone;
     inValue.Body.position = position;
     inValue.Body.unitId   = unitId;
     inValue.Body.head     = head;
     AsmxClient.AsmxWorkerService.EditWorkerByIdResponse retVal = ((AsmxClient.AsmxWorkerService.AsmxWorkerServiceSoap)(this)).EditWorkerById(inValue);
 }