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

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

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