public void updateSupply(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            Supply supply = new Supply();

            supply.Id           = Convert.ToInt32(context.Request.Form["id"].ToString());
            supply.Priority     = Convert.ToInt32(context.Request.Form["priority"].ToString());
            supply.SupplyStatus = Convert.ToInt32(context.Request.Form["status"].ToString());
            Boolean flag = supplyService.updateSupplyByManager(supply);
            Dictionary <String, Object> dictionary = new Dictionary <string, object>();

            if (flag)
            {
                dictionary.Add("success", "true");
            }
            else
            {
                dictionary.Add("success", "false");
            }
            StringBuilder sb = JsonUtil.toJson(dictionary);

            context.Response.Write(sb.ToString());
        }