public string GetReportFileByGUID(string reportGuid, bool deleteFile) { Feedback feed; try { ReportManager reportManager = new ReportManager(); Report reportItem = reportManager.GetReportFileByGUID(new Guid(reportGuid), deleteFile); feed = new Feedback(Feedback.TypeFeedback.Success, String.Empty, reportItem); } catch (Exception ex) { feed = new Feedback(Feedback.TypeFeedback.Error, ex.Message, null); } string xmlObject = JsonHelper.ConvertToJSON(feed); return GZipHelper.Compress(xmlObject); }