public JObject DeleteTopic(HttpContext context) { JObject resultObj = new JObject(); int sectionId = Convert.ToInt32(context.Request["sectionId"]); int topicId = Convert.ToInt32(context.Request["topicId"]); try { Press3.BusinessRulesLayer.Scripts ScriptObj = new Press3.BusinessRulesLayer.Scripts(); resultObj = ScriptObj.DeleteTopic(MyConfig.MyConnectionString, accountId, sectionId, topicId); } catch (Exception ex) { Logger.Error(ex.ToString()); } return(resultObj); }