Esempio n. 1
0
 public void AddPatient(Patient patient)
 {
     try
     {
         patientDataLayer             = new PatientDataLayer();
         patient.PatientUser.Password = patient.PatientUser.ConfirmPassword = Encryption.Encrypt(patient.PatientUser.Password);
         patientDataLayer.AddPatient(patient);
     }
     catch (Exception e)
     {
         ExceptionHandler.PrintException(e, new StackTrace(true));
         throw e;
     }
 }