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