Beispiel #1
0
        public virtual void MoveOU(HttpContext context)
        {
            YZRequest request = new YZRequest(context);
            string    src     = request.GetString("src");
            string    tag     = request.GetString("tag");
            bool      copy    = request.GetBool("copy");

            using (BPMConnection cn = new BPMConnection())
            {
                cn.WebOpen();

                if (copy)
                {
                    OU.CopyOU(cn, src, tag);
                }
                else
                {
                    OU.MoveOU(cn, src, tag);
                }
            }
        }