public string ClonePage(string pageId, string ctrl) { string crlHash = Generic.GetHash(Generic.GetWebConfigValue("WebServiceKey")); if (ctrl != crlHash) return string.Empty; db_config_page dcp = null; try { dcp = new db_config_page(Convert.ToInt32(pageId), false); dcp.Open(); dcp.Clone(Convert.ToInt32(pageId)); return "Operation Done"; } catch (Exception ex) { return ex.Message; } finally { if (dcp != null) dcp.Close(); } }