public ReportDO GetReportOnInspectionTransactionID(SQLiteConnection conn, int id, string reportType) { ReportDO report = new ReportDO(); try { report = ReportDO.getReports(conn, id, reportType).FirstOrDefault(); } catch (Exception ex) { Debug.WriteLine("Exception Occured in GetReport method due to " + ex.Message); } return(report); }