public void Dispose() { try { patientDataLayer = new PatientDataLayer(); patientDataLayer.Dispose(); } catch (Exception e) { ExceptionHandler.PrintException(e, new StackTrace(true)); throw e; } }