Exemple #1
0
        private void RouteCommentDelete(HttpContext context)
        {
            string id = context.Request.QueryString["id"];

            ClassLibrary.BLL.RouteComment routeCommentBLL = new ClassLibrary.BLL.RouteComment();

            if (routeCommentBLL.Delete(int.Parse(id)) > 0)
            {
                Print(context, "success");
            }
            else
            {
                Print(context, "errors");
            }
        }