public Invoice GetInvoice(int AppointmentId) { try { patientDataLayer = new PatientDataLayer(); return(patientDataLayer.GetInvoice(AppointmentId)); } catch (Exception e) { ExceptionHandler.PrintException(e, new StackTrace(true)); throw e; } }