コード例 #1
0
        public void ProcessRequest(HttpContext context)
        {
            //String associate_id = context.Session["associate_id"].ToString();
            int bus_pass_id = int.Parse(context.Request.QueryString["bus_pass_id"]);
            //int period = int.Parse(context.Request.QueryString["period"]);
            Debug.WriteLine("bus_pass_id : " + bus_pass_id);
            int period = 1;
            CBusPassBO BO = new CBusPassBO();
            BO.RenewBusPass(bus_pass_id,period);

            context.Response.Write("200");
            context.Response.ContentType = "text/plain";
        }