private StringBuilder VoidPackage(string country, string reportingPeriod) { StringBuilder sbCbc = new StringBuilder(); var results = DBReadManager.GetPackageForDeletion(country, reportingPeriod); if (results.HasRows) { foreach (DataRow row in results.Tables[0].Rows) { var cbcBody = XmlDeletionContent(row[0].ToString()); if (!string.IsNullOrEmpty(cbcBody)) { sbCbc.Append(cbcBody); } } } return(sbCbc); }