Exemplo n.º 1
0
        private void RouteDelete(HttpContext context)
        {
            string id = context.Request.QueryString["id"];

            ClassLibrary.BLL.Routes routeBLL = new ClassLibrary.BLL.Routes();

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