Beispiel #1
0
 private void validateWorkerDataToUpdate(WorkerBundle newWorkerInfo)
 {
     if (newWorkerInfo.Name != null)
     {
         validator.validateStringData(null, newWorkerInfo);
         validator.validatePhoneNumber(null, newWorkerInfo);
     }
 }
Beispiel #2
0
 private void validateClientDataToUpdate(ClientBundle newClientInfo)
 {
     validator.validateStringData(newClientInfo);
     validator.validatePhoneNumber(newClientInfo);
 }