public Appointment UpdateAppointment(Appointment appointment) { try { patientDataLayer = new PatientDataLayer(); return(patientDataLayer.UpdateAppointment(appointment)); } catch (Exception e) { ExceptionHandler.PrintException(e, new StackTrace(true)); throw e; } }